<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>HTML - Wikitechy</title>
	<atom:link href="https://www.wikitechy.com/interview-questions/category/html/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.wikitechy.com/interview-questions/category/html/</link>
	<description>Interview Questions</description>
	<lastBuildDate>Thu, 29 Feb 2024 13:36:10 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://www.wikitechy.com/interview-questions/wp-content/uploads/2025/10/cropped-wikitechy-icon-32x32.png</url>
	<title>HTML - Wikitechy</title>
	<link>https://www.wikitechy.com/interview-questions/category/html/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>What is a marquee tag ?</title>
		<link>https://www.wikitechy.com/interview-questions/html/what-is-a-marquee-tag/</link>
					<comments>https://www.wikitechy.com/interview-questions/html/what-is-a-marquee-tag/#respond</comments>
		
		<dc:creator><![CDATA[webmaster]]></dc:creator>
		<pubDate>Thu, 27 Oct 2022 05:40:15 +0000</pubDate>
				<category><![CDATA[HTML]]></category>
		<category><![CDATA[html marquee replacement]]></category>
		<category><![CDATA[html marquee tag]]></category>
		<category><![CDATA[html marquees]]></category>
		<category><![CDATA[html tag]]></category>
		<category><![CDATA[marquee element]]></category>
		<category><![CDATA[marquee html]]></category>
		<category><![CDATA[marquee tag attributes]]></category>
		<category><![CDATA[marquee tag example]]></category>
		<category><![CDATA[marquee tag in css]]></category>
		<category><![CDATA[the marquee tag in html]]></category>
		<guid isPermaLink="false">https://www.wikitechy.com/interview-questions/?p=5067</guid>

					<description><![CDATA[In HTML it is used to create scrolling text or image in a webpage. It scrolls either from vertically top to bottom or bottom to top or horizontally left to right or right to left. The marquee element comes in pairs which means that the tag has opening and closing elements. The marquee is divided [&#8230;]]]></description>
										<content:encoded><![CDATA[<ul>
<li style="text-align: justify;">In HTML it is used to create scrolling text or image in a webpage.</li>
<li style="text-align: justify;">It scrolls either from vertically top to bottom or bottom to top or horizontally left to right or right to left.</li>
<li style="text-align: justify;">The marquee element comes in pairs which means that the tag has opening and closing elements.</li>
<li style="text-align: justify;">The marquee is divided into two methods they are start (), stop ().</li>
<li style="text-align: justify;">Start () is used to start the scrolling of the Marquee Tag.</li>
<li style="text-align: justify;">Stop () is used to stop the scrolling the marquee tag.</li>
</ul>
<h2 id="syntax" style="text-align: justify;">Syntax</h2>
<div class="code-embed-wrapper"> <div class="code-embed-infos"> </div> <pre class="language-markup code-embed-pre line-numbers"  data-start="1" data-line-offset="0"><code class="language-markup code-embed-code">&lt;marquee&gt;<br/>   &lt;--- contents ---&gt;<br/>&lt;/marquee&gt;</code></pre> </div>
<h2 id="sample-code" style="text-align: justify;">Sample Code</h2>
<div class="code-embed-wrapper"> <div class="code-embed-infos"> </div> <pre class="language-markup code-embed-pre line-numbers"  data-start="1" data-line-offset="0"><code class="language-markup code-embed-code">&lt;!DOCTYPE html&gt;<br/>&lt;html&gt;<br/>&lt;head&gt;<br/>    &lt;title&gt;Marquee Tag&lt;/title&gt;<br/>    &lt;style&gt;<br/>    .main {<br/>        text-align:center;<br/>    }<br/>    .marq {<br/>        padding-top:30px;<br/>        padding-bottom:30px;<br/>    }<br/>    .geek1 {<br/>        font-size:36px;<br/>        font-weight:bold;<br/>        color:blue;<br/>        padding-bottom:10px;<br/>    }<br/>    &lt;/style&gt;<br/>&lt;/head&gt;<br/> <br/>&lt;body&gt;<br/>    &lt;div class = &quot;main&quot;&gt;<br/>    &lt;marquee class=&quot;marq&quot; bgcolor = &quot;Pink&quot; direction = &quot;left&quot; loop=&quot;&quot; &gt;<br/>        &lt;div class=&quot;geek1&quot;&gt;Welcome to Wikitechy&lt;/div&gt;<br/>        &lt;div class=&quot;geek2&quot;&gt;Kaashiv Infotech&lt;/div&gt;<br/>    &lt;/marquee&gt;<br/>    &lt;/div&gt;<br/>&lt;/body&gt;<br/>&lt;/html&gt;                   </code></pre> </div>
<h2 id="output" style="text-align: justify;">Output</h2>
<p style="text-align: justify;"><img fetchpriority="high" decoding="async" class="alignnone size-full wp-image-5068" src="https://www.wikitechy.com/interview-questions/wp-content/uploads/2022/10/marquee-tag-html.gif" alt="" width="1342" height="576" /></p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.wikitechy.com/interview-questions/html/what-is-a-marquee-tag/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>What is the datalist tag in HTML ?</title>
		<link>https://www.wikitechy.com/interview-questions/html/what-is-the-datalist-tag-in-html/</link>
					<comments>https://www.wikitechy.com/interview-questions/html/what-is-the-datalist-tag-in-html/#respond</comments>
		
		<dc:creator><![CDATA[webmaster]]></dc:creator>
		<pubDate>Thu, 27 Oct 2022 05:27:42 +0000</pubDate>
				<category><![CDATA[HTML]]></category>
		<category><![CDATA[datalist events]]></category>
		<category><![CDATA[datalist example]]></category>
		<category><![CDATA[datalist selected value]]></category>
		<category><![CDATA[datalist styling]]></category>
		<category><![CDATA[datalist value and text]]></category>
		<category><![CDATA[html datalist tag]]></category>
		<category><![CDATA[html tag]]></category>
		<category><![CDATA[select and datalist in html]]></category>
		<category><![CDATA[tag]]></category>
		<category><![CDATA[what is the datalist tag in html]]></category>
		<guid isPermaLink="false">https://www.wikitechy.com/interview-questions/?p=5064</guid>

					<description><![CDATA[In HTML &#60;datalist&#62; tag is used to provide autocomplete feature in the files. Users can easily fill the data in the forms using select the data because it is used by an input tag. It provides a list of predefined options for the users to select data. Sample Code Output]]></description>
										<content:encoded><![CDATA[<ul>
<li style="text-align: justify;">In HTML &lt;datalist&gt; tag is used to provide autocomplete feature in the files.</li>
<li style="text-align: justify;">Users can easily fill the data in the forms using select the data because it is used by an input tag.</li>
<li style="text-align: justify;">It provides a list of predefined options for the users to select data.</li>
</ul>
<h2 id="sample-code" style="text-align: justify;">Sample Code</h2>
<div class="code-embed-wrapper"> <div class="code-embed-infos"> </div> <pre class="language-markup code-embed-pre line-numbers"  data-start="1" data-line-offset="0"><code class="language-markup code-embed-code">&lt;!DOCTYPE html&gt;<br/>&lt;html&gt;<br/>&lt;body&gt;<br/><br/>&lt;h1&gt;The datalist element&lt;/h1&gt;<br/><br/>&lt;form action=&quot;/action_page.php&quot; method=&quot;get&quot;&gt;<br/>  &lt;label for=&quot;browser&quot;&gt;Choose your browser from the list:&lt;/label&gt;<br/>  &lt;input list=&quot;browsers&quot; name=&quot;browser&quot; id=&quot;browser&quot;&gt;<br/>  &lt;datalist id=&quot;browsers&quot;&gt;<br/>    &lt;option value=&quot;Edge&quot;&gt;<br/>    &lt;option value=&quot;Firefox&quot;&gt;<br/>    &lt;option value=&quot;Chrome&quot;&gt;<br/>    &lt;option value=&quot;Opera&quot;&gt;<br/>    &lt;option value=&quot;Safari&quot;&gt;<br/>  &lt;/datalist&gt;<br/>  &lt;input type=&quot;submit&quot;&gt;<br/>&lt;/form&gt;<br/><br/>&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; The datalist tag is not supported in Safari 12.0 (or earlier).&lt;/p&gt;<br/><br/>&lt;/body&gt;<br/>&lt;/html&gt;</code></pre> </div>
<h2 id="output" style="text-align: justify;">Output</h2>
<p style="text-align: justify;"><img decoding="async" class="alignnone size-full wp-image-5065" src="https://www.wikitechy.com/interview-questions/wp-content/uploads/2022/10/html-datalist-tag.png" alt="" width="1293" height="746" srcset="https://www.wikitechy.com/interview-questions/wp-content/uploads/2022/10/html-datalist-tag.png 1293w, https://www.wikitechy.com/interview-questions/wp-content/uploads/2022/10/html-datalist-tag-300x173.png 300w, https://www.wikitechy.com/interview-questions/wp-content/uploads/2022/10/html-datalist-tag-1024x591.png 1024w, https://www.wikitechy.com/interview-questions/wp-content/uploads/2022/10/html-datalist-tag-768x443.png 768w, https://www.wikitechy.com/interview-questions/wp-content/uploads/2022/10/html-datalist-tag-390x225.png 390w, https://www.wikitechy.com/interview-questions/wp-content/uploads/2022/10/html-datalist-tag-820x473.png 820w, https://www.wikitechy.com/interview-questions/wp-content/uploads/2022/10/html-datalist-tag-1180x681.png 1180w" sizes="(max-width: 1293px) 100vw, 1293px" /></p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.wikitechy.com/interview-questions/html/what-is-the-datalist-tag-in-html/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to Insert an Image in HTML ?</title>
		<link>https://www.wikitechy.com/interview-questions/html/how-to-insert-an-image-in-html/</link>
					<comments>https://www.wikitechy.com/interview-questions/html/how-to-insert-an-image-in-html/#respond</comments>
		
		<dc:creator><![CDATA[webmaster]]></dc:creator>
		<pubDate>Wed, 26 Oct 2022 12:16:03 +0000</pubDate>
				<category><![CDATA[HTML]]></category>
		<category><![CDATA[how to center an image in html]]></category>
		<category><![CDATA[how to insert an image in html]]></category>
		<category><![CDATA[how to insert an image in html page]]></category>
		<category><![CDATA[how to insert an image in html5]]></category>
		<category><![CDATA[how to insert image in html]]></category>
		<category><![CDATA[how to insert images using html]]></category>
		<category><![CDATA[html images]]></category>
		<category><![CDATA[html img tag]]></category>
		<category><![CDATA[image alignment in html]]></category>
		<category><![CDATA[images in html]]></category>
		<category><![CDATA[img src html]]></category>
		<guid isPermaLink="false">https://www.wikitechy.com/interview-questions/?p=5061</guid>

					<description><![CDATA[In HTML document we can use different fonts and lists. For look more attractive we can add more graphics to make the document. Web browsers support a number of graphic formats, there are three types of formats widely used they are Graphics Interchange Format (GIF), Joint Photographic Expert Group (JPEG), Portable Network Graphics (PNG). Graphics [&#8230;]]]></description>
										<content:encoded><![CDATA[<ul>
<li style="text-align: justify;">In HTML document we can use different fonts and lists.</li>
<li style="text-align: justify;">For look more attractive we can add more graphics to make the document.</li>
<li style="text-align: justify;">Web browsers support a number of graphic formats, there are three types of formats widely used they are Graphics Interchange Format (GIF), <strong>Joint Photographic Expert Group (JPEG), Portable Network Graphics (PNG).</strong></li>
<li style="text-align: justify;">Graphics Interchange Format (GIF) is the best format displaying images designed with a graphics program.</li>
<li style="text-align: justify;"><strong>Joint Photographic Expert Group (JPEG) is the </strong>best format for photographs.</li>
<li style="text-align: justify;"><strong>Portable Network Graphics (PNG) is the best format </strong>for images with transparency or the low color count.</li>
<li style="text-align: justify;">In HTML document &lt;img&gt; tag specifies an image to be displayed.</li>
</ul>
<h2 id="inserting-an-image-with-css"><strong>Inserting </strong><strong>an</strong> <strong>image with CSS</strong></h2>
<h3 id="sample-code">Sample Code</h3>
<div class="code-embed-wrapper"> <div class="code-embed-infos"> </div> <pre class="language-markup code-embed-pre line-numbers"  data-start="1" data-line-offset="0"><code class="language-markup code-embed-code">&lt;!DOCTYPE html&gt;<br/>&lt;html&gt;<br/>    &lt;style&gt;<br/>        image{border:4px solid orange; width: 120px;height: 100px;}<br/>        h1{text-transform:uppercase}<br/>    &lt;/style&gt;<br/>&lt;head&gt;<br/>    &lt;title&gt;<br/>        HTML frame scrolling Attribute<br/>    &lt;/title&gt;<br/>&lt;/head&gt;<br/>&lt;body&gt;<br/>    &lt;h1&gt;Inserting Image&lt;/h1&gt;<br/>    &lt;img src=&quot;wikitechy.png&quot; alt=&quot;image is not available&quot;&gt;<br/>&lt;/body&gt;<br/>&lt;/html&gt;</code></pre> </div>
<h3 id="output">Output</h3>
<h3 id=""><img decoding="async" class="alignnone size-full wp-image-5062" src="https://www.wikitechy.com/interview-questions/wp-content/uploads/2022/10/html-image-source.png" alt="" width="1001" height="661" srcset="https://www.wikitechy.com/interview-questions/wp-content/uploads/2022/10/html-image-source.png 1001w, https://www.wikitechy.com/interview-questions/wp-content/uploads/2022/10/html-image-source-300x198.png 300w, https://www.wikitechy.com/interview-questions/wp-content/uploads/2022/10/html-image-source-768x507.png 768w, https://www.wikitechy.com/interview-questions/wp-content/uploads/2022/10/html-image-source-390x258.png 390w, https://www.wikitechy.com/interview-questions/wp-content/uploads/2022/10/html-image-source-820x541.png 820w" sizes="(max-width: 1001px) 100vw, 1001px" /></h3>
<h2 id="inserting-an-image-without-the-css">Inserting an Image without the CSS</h2>
<h3 id="sample-code-2">Sample Code</h3>
<div class="code-embed-wrapper"> <div class="code-embed-infos"> </div> <pre class="language-markup code-embed-pre line-numbers"  data-start="1" data-line-offset="0"><code class="language-markup code-embed-code">&lt;!DOCTYPE html&gt;<br/>&lt;head&gt;<br/>    &lt;title&gt;<br/>        HTML frame scrolling Attribute<br/>    &lt;/title&gt;<br/>&lt;/head&gt;<br/>&lt;body&gt;<br/>    &lt;h1&gt;Inserting Image&lt;/h1&gt;<br/>    &lt;img src=&quot;wikitechy.png&quot; alt=&quot;image is not available&quot; width=&quot;120px&quot; height=&quot;100px&quot;&gt;<br/>&lt;/body&gt;<br/>&lt;/html&gt;</code></pre> </div>
<h3 id="output-2">Output</h3>
<h3 id="-2"><img decoding="async" class="alignnone size-full wp-image-5062" src="https://www.wikitechy.com/interview-questions/wp-content/uploads/2022/10/html-image-source.png" alt="" width="1001" height="661" srcset="https://www.wikitechy.com/interview-questions/wp-content/uploads/2022/10/html-image-source.png 1001w, https://www.wikitechy.com/interview-questions/wp-content/uploads/2022/10/html-image-source-300x198.png 300w, https://www.wikitechy.com/interview-questions/wp-content/uploads/2022/10/html-image-source-768x507.png 768w, https://www.wikitechy.com/interview-questions/wp-content/uploads/2022/10/html-image-source-390x258.png 390w, https://www.wikitechy.com/interview-questions/wp-content/uploads/2022/10/html-image-source-820x541.png 820w" sizes="(max-width: 1001px) 100vw, 1001px" /></h3>
<p>&nbsp;</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.wikitechy.com/interview-questions/html/how-to-insert-an-image-in-html/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to Align Text in HTML ?</title>
		<link>https://www.wikitechy.com/interview-questions/html/how-to-align-text-in-html/</link>
					<comments>https://www.wikitechy.com/interview-questions/html/how-to-align-text-in-html/#respond</comments>
		
		<dc:creator><![CDATA[webmaster]]></dc:creator>
		<pubDate>Wed, 26 Oct 2022 12:01:25 +0000</pubDate>
				<category><![CDATA[HTML]]></category>
		<category><![CDATA[css text alignment and text direction]]></category>
		<category><![CDATA[css text-align property]]></category>
		<category><![CDATA[css text-justify property]]></category>
		<category><![CDATA[how to align text in css]]></category>
		<category><![CDATA[how to align text in html]]></category>
		<category><![CDATA[how to align text in html by pixels]]></category>
		<category><![CDATA[how to align text in html using css]]></category>
		<category><![CDATA[how to align text in html without css]]></category>
		<category><![CDATA[how to align text side by side in html]]></category>
		<category><![CDATA[html center tag]]></category>
		<category><![CDATA[text-align:center html]]></category>
		<guid isPermaLink="false">https://www.wikitechy.com/interview-questions/?p=5056</guid>

					<description><![CDATA[By using markup language, HTML is used to design webpages. It defines the link between the webpages. It defines the structure of webpages where markup language is used to define the text document within tag. In required format HTML is used by the browser to manipulate text, images, and other content to display. By using [&#8230;]]]></description>
										<content:encoded><![CDATA[<ul>
<li>By using markup language, HTML is used to design webpages.</li>
<li>It defines the link between the webpages.</li>
<li>It defines the structure of webpages where markup language is used to define the text document within tag.</li>
<li>In required format HTML is used by the browser to manipulate text, images, and other content to display.</li>
<li>By using the text-align property, we can change the alignment of the text.</li>
<li>We can align the text in the Left, Right and Center.</li>
<li>The text alignment can be done with HTML Attribute tag and Cascade Style Sheet.</li>
<li>In Webpage, HTML allows the use of these CSS to perform changes in the style of the content.</li>
<li>If you are in the market for watches <a href="https://replicarichardmille.io" target="_blank" rel="noopener">Replica Richard Mille</a></li>
</ul>
<h2 id="align-text-to-left">Align text to left</h2>
<h3 id="sample-code">Sample Code</h3>
<div class="code-embed-wrapper"> <div class="code-embed-infos"> </div> <pre class="language-markup code-embed-pre line-numbers"  data-start="1" data-line-offset="0"><code class="language-markup code-embed-code">&lt;!DOCTYPE html&gt;<br/>&lt;html&gt;<br/>&lt;body&gt;<br/><br/>&lt;h1 style=&quot;text-align:left;&quot;&gt;Welcome to Wikitechy&lt;/h1&gt;<br/>&lt;p style=&quot;text-align:left;&quot;&gt;Hi this is Venkat .&lt;/p&gt;<br/><br/>&lt;/body&gt;<br/>&lt;/html&gt;</code></pre> </div>
<h3 id="output">Output</h3>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-5057" src="https://www.wikitechy.com/interview-questions/wp-content/uploads/2022/10/html-align-left.png" alt="" width="1287" height="540" srcset="https://www.wikitechy.com/interview-questions/wp-content/uploads/2022/10/html-align-left.png 1287w, https://www.wikitechy.com/interview-questions/wp-content/uploads/2022/10/html-align-left-300x126.png 300w, https://www.wikitechy.com/interview-questions/wp-content/uploads/2022/10/html-align-left-1024x430.png 1024w, https://www.wikitechy.com/interview-questions/wp-content/uploads/2022/10/html-align-left-768x322.png 768w, https://www.wikitechy.com/interview-questions/wp-content/uploads/2022/10/html-align-left-390x164.png 390w, https://www.wikitechy.com/interview-questions/wp-content/uploads/2022/10/html-align-left-820x344.png 820w, https://www.wikitechy.com/interview-questions/wp-content/uploads/2022/10/html-align-left-1180x495.png 1180w" sizes="(max-width: 1287px) 100vw, 1287px" /></p>
<h2 id="align-text-to-right">Align text to Right</h2>
<h3 id="sample-code-2"> Sample Code</h3>
<div class="code-embed-wrapper"> <div class="code-embed-infos"> </div> <pre class="language-markup code-embed-pre line-numbers"  data-start="1" data-line-offset="0"><code class="language-markup code-embed-code">&lt;!DOCTYPE html&gt;<br/>&lt;html&gt;<br/>&lt;body&gt;<br/><br/>&lt;h1 style=&quot;text-align:right;&quot;&gt;Welcome to Wikitechy&lt;/h1&gt;<br/>&lt;p style=&quot;text-align:right;&quot;&gt;Hi this is Venkat .&lt;/p&gt;<br/><br/>&lt;/body&gt;<br/>&lt;/html&gt;</code></pre> </div>
<h3 id="output-2">Output</h3>
<h3 id=""><img loading="lazy" decoding="async" class="alignnone size-full wp-image-5058" src="https://www.wikitechy.com/interview-questions/wp-content/uploads/2022/10/html-align-right.png" alt="" width="1286" height="601" srcset="https://www.wikitechy.com/interview-questions/wp-content/uploads/2022/10/html-align-right.png 1286w, https://www.wikitechy.com/interview-questions/wp-content/uploads/2022/10/html-align-right-300x140.png 300w, https://www.wikitechy.com/interview-questions/wp-content/uploads/2022/10/html-align-right-1024x479.png 1024w, https://www.wikitechy.com/interview-questions/wp-content/uploads/2022/10/html-align-right-768x359.png 768w, https://www.wikitechy.com/interview-questions/wp-content/uploads/2022/10/html-align-right-390x182.png 390w, https://www.wikitechy.com/interview-questions/wp-content/uploads/2022/10/html-align-right-820x383.png 820w, https://www.wikitechy.com/interview-questions/wp-content/uploads/2022/10/html-align-right-1180x551.png 1180w" sizes="(max-width: 1286px) 100vw, 1286px" /></h3>
<h2 id="align-text-to-center">Align text to Center</h2>
<h3 id="sample-code-3">Sample Code</h3>
<div class="code-embed-wrapper"> <div class="code-embed-infos"> </div> <pre class="language-markup code-embed-pre line-numbers"  data-start="1" data-line-offset="0"><code class="language-markup code-embed-code">&lt;!DOCTYPE html&gt;<br/>&lt;html&gt;<br/>&lt;body&gt;<br/><br/>&lt;h1 style=&quot;text-align:center;&quot;&gt;Welcome to Wikitechy&lt;/h1&gt;<br/>&lt;p style=&quot;text-align: center;&quot;&gt;Hi this is Venkat .&lt;/p&gt;<br/><br/>&lt;/body&gt;<br/>&lt;/html&gt;</code></pre> </div>
<h3 id="output-3">Output</h3>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-5059" src="https://www.wikitechy.com/interview-questions/wp-content/uploads/2022/10/html-align-center.png" alt="" width="1289" height="547" srcset="https://www.wikitechy.com/interview-questions/wp-content/uploads/2022/10/html-align-center.png 1289w, https://www.wikitechy.com/interview-questions/wp-content/uploads/2022/10/html-align-center-300x127.png 300w, https://www.wikitechy.com/interview-questions/wp-content/uploads/2022/10/html-align-center-1024x435.png 1024w, https://www.wikitechy.com/interview-questions/wp-content/uploads/2022/10/html-align-center-768x326.png 768w, https://www.wikitechy.com/interview-questions/wp-content/uploads/2022/10/html-align-center-390x166.png 390w, https://www.wikitechy.com/interview-questions/wp-content/uploads/2022/10/html-align-center-820x348.png 820w, https://www.wikitechy.com/interview-questions/wp-content/uploads/2022/10/html-align-center-1180x501.png 1180w" sizes="(max-width: 1289px) 100vw, 1289px" /></p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.wikitechy.com/interview-questions/html/how-to-align-text-in-html/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How do you add buttons in HTML ?</title>
		<link>https://www.wikitechy.com/interview-questions/html/how-do-you-add-buttons-in-html/</link>
					<comments>https://www.wikitechy.com/interview-questions/html/how-do-you-add-buttons-in-html/#respond</comments>
		
		<dc:creator><![CDATA[webmaster]]></dc:creator>
		<pubDate>Wed, 26 Oct 2022 11:45:14 +0000</pubDate>
				<category><![CDATA[HTML]]></category>
		<category><![CDATA[button css]]></category>
		<category><![CDATA[button html]]></category>
		<category><![CDATA[button html onclick]]></category>
		<category><![CDATA[creating a button with the html button element]]></category>
		<category><![CDATA[how to add an html button that acts like a link]]></category>
		<category><![CDATA[how to add buttons to your website]]></category>
		<category><![CDATA[how to create text buttons]]></category>
		<category><![CDATA[how to insert a button in html]]></category>
		<category><![CDATA[html button style]]></category>
		<category><![CDATA[html button tag]]></category>
		<category><![CDATA[html button type]]></category>
		<category><![CDATA[submit button in html]]></category>
		<guid isPermaLink="false">https://www.wikitechy.com/interview-questions/?p=5053</guid>

					<description><![CDATA[In HTML &#60;button&#62; tag is used to clickable button within form on your webpage. We can put content like image or text within the &#60;button&#62;to&#60;/button&#62; tag. For &#60;button&#62; tag we should always specify the type attribute. The button element is used for various browsers using different default type. Button tag can be used inside and outside [&#8230;]]]></description>
										<content:encoded><![CDATA[<ul>
<li>In HTML &lt;button&gt; tag is used to clickable button within form on your webpage.</li>
<li>We can put content like image or text within the &lt;button&gt;to&lt;/button&gt; tag.</li>
<li>For &lt;button&gt; tag we should always specify the type attribute.</li>
<li>The button element is used for various browsers using different default type.</li>
<li>Button tag can be used inside and outside the form in HTML.</li>
<li>It works as the submit button and also reset button, while if we use it inside the form.</li>
<li>It can call JS on it, while if weuse it outside the form.</li>
<li>If you are in the market for superclone <a href="https://superclonerolex.io" target="_blank" rel="noopener">Replica Rolex</a> , Super Clone Rolex is the place to go! The largest collection of fake Rolex watches online!</li>
</ul>
<h2 id="sample-code">Sample Code</h2>
<div class="code-embed-wrapper"> <div class="code-embed-infos"> </div> <pre class="language-markup code-embed-pre line-numbers"  data-start="1" data-line-offset="0"><code class="language-markup code-embed-code">&lt;!DOCTYPE html&gt;<br/>&lt;html&gt;<br/>&lt;body&gt;<br/><br/>&lt;h1&gt;Welcome to Wikitechy&lt;/h1&gt;<br/><br/>&lt;button type=&quot;button&quot; onclick=&quot;alert(&#039;Hello world!&#039;)&quot;&gt;Click Me!&lt;/button&gt;<br/> <br/>&lt;/body&gt;<br/>&lt;/html&gt;</code></pre> </div>
<h2 id="output">Output</h2>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-5054 aligncenter" src="https://www.wikitechy.com/interview-questions/wp-content/uploads/2022/10/button-tag-in-html.png" alt="" width="1290" height="583" srcset="https://www.wikitechy.com/interview-questions/wp-content/uploads/2022/10/button-tag-in-html.png 1290w, https://www.wikitechy.com/interview-questions/wp-content/uploads/2022/10/button-tag-in-html-300x136.png 300w, https://www.wikitechy.com/interview-questions/wp-content/uploads/2022/10/button-tag-in-html-1024x463.png 1024w, https://www.wikitechy.com/interview-questions/wp-content/uploads/2022/10/button-tag-in-html-768x347.png 768w, https://www.wikitechy.com/interview-questions/wp-content/uploads/2022/10/button-tag-in-html-390x176.png 390w, https://www.wikitechy.com/interview-questions/wp-content/uploads/2022/10/button-tag-in-html-820x371.png 820w, https://www.wikitechy.com/interview-questions/wp-content/uploads/2022/10/button-tag-in-html-1180x533.png 1180w" sizes="(max-width: 1290px) 100vw, 1290px" /></p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.wikitechy.com/interview-questions/html/how-do-you-add-buttons-in-html/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>What are the different types of storage in HTML5 ?</title>
		<link>https://www.wikitechy.com/interview-questions/html/what-are-the-different-types-of-storage-in-html5/</link>
					<comments>https://www.wikitechy.com/interview-questions/html/what-are-the-different-types-of-storage-in-html5/#respond</comments>
		
		<dc:creator><![CDATA[webmaster]]></dc:creator>
		<pubDate>Wed, 26 Oct 2022 11:34:59 +0000</pubDate>
				<category><![CDATA[HTML]]></category>
		<category><![CDATA[html web storage]]></category>
		<category><![CDATA[html web storage api]]></category>
		<category><![CDATA[html5 web storage]]></category>
		<category><![CDATA[html5 web storage vs cookies]]></category>
		<category><![CDATA[session storage in html5]]></category>
		<category><![CDATA[web storage]]></category>
		<category><![CDATA[web storage api]]></category>
		<category><![CDATA[web storage html]]></category>
		<category><![CDATA[what are the different types of storage in html5]]></category>
		<category><![CDATA[what are two types of web storage in html5]]></category>
		<category><![CDATA[what is web storage]]></category>
		<guid isPermaLink="false">https://www.wikitechy.com/interview-questions/?p=5049</guid>

					<description><![CDATA[In HTML5, web storage is one of the great features. In Web storage, web applications can locally store data within the browser on the client side. It is sometimes known as DOM storage and stores data in the form of key/value pair on the browser. Web storage is better and faster than cookies storage, and [&#8230;]]]></description>
										<content:encoded><![CDATA[<ul>
<li style="text-align: justify;">In HTML5, web storage is one of the great features. In Web storage, <em>web applications can locally store data within the browser on the client side.</em></li>
<li style="text-align: justify;"><em>It is sometimes known as DOM storage and stores data in the form of </em>key/value pair on the browser.</li>
<li style="text-align: justify;">Web storage is better and faster than cookies storage, and storing data is similar to cookies.</li>
<li style="text-align: justify;">Similarly, Web Storage can use storage space of up to 5MB per domain.</li>
<li style="text-align: justify;">It is faster than cookies storage because It will not send data to the server side.</li>
<li style="text-align: justify;">At web storage cookies data expires after some time or session but data stored by local Storage never expires.</li>
<li style="text-align: justify;">There are two types of web storage, they are;
<ul>
<li>Local Storage</li>
<li>Session Storage</li>
<li>If you are in the market for superclone <a href="https://replicarolexexpert.io/" target="_blank" rel="noopener">Replica Rolex</a> , Super Clone Rolex is the place to go! The largest collection of fake Rolex watches online!</li>
</ul>
</li>
</ul>
<h2 id="local-storage">Local Storage</h2>
<ul>
<li>In this the local Storage object stores data locally within the browser.</li>
<li>The data stored by local Storage object does not have any expiration date.</li>
<li>The stored data will not be deleted if the browser is reopened or closed.</li>
<li>The key/values are always stored as String, and can be accessed with localStorage.setItem() and localStorage.getItem() methods.</li>
</ul>
<h2 id="sample-code">Sample Code</h2>
<div class="code-embed-wrapper"> <div class="code-embed-infos"> </div> <pre class="language-markup code-embed-pre line-numbers"  data-start="1" data-line-offset="0"><code class="language-markup code-embed-code">&lt;!DOCTYPE html&gt;<br/>&lt;html&gt;<br/>&lt;head&gt;<br/>  &lt;title&gt;Web Storage API&lt;/title&gt;<br/>  &lt;style&gt;<br/>    body{<br/>      color: blue;<br/>      text-align: center;<br/>      font-size: 30px;<br/>      margin-top: 30px;<br/>      font-style: italic;<br/>    }<br/>  &lt;/style&gt;<br/>&lt;/head&gt;<br/>&lt;body&gt;<br/>&lt;script&gt;<br/> if(typeof(Storage)!==&quot;undefined&quot;) {<br/>  localStorage.setItem(&quot;name&quot;,&quot;Venkat&quot;);<br/>  localStorage.setItem(&quot;Country&quot;, &quot;India&quot;);<br/>   document.write(&quot;Hi this is&quot;+&quot; &quot;+localStorage.name+&quot; &quot;+&quot;from&quot; +&quot; &quot;+ localStorage.Country);<br/>}<br/> else{<br/>  alert(&quot;Sorry! your browser is not supporting the browser&quot;)<br/> }<br/>&lt;/script&gt;<br/>&lt;/body&gt;<br/>&lt;/html&gt;</code></pre> </div>
<h2 id="output">Output</h2>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-5050" src="https://www.wikitechy.com/interview-questions/wp-content/uploads/2022/10/local-storage.png" alt="" width="1285" height="525" srcset="https://www.wikitechy.com/interview-questions/wp-content/uploads/2022/10/local-storage.png 1285w, https://www.wikitechy.com/interview-questions/wp-content/uploads/2022/10/local-storage-300x123.png 300w, https://www.wikitechy.com/interview-questions/wp-content/uploads/2022/10/local-storage-1024x418.png 1024w, https://www.wikitechy.com/interview-questions/wp-content/uploads/2022/10/local-storage-768x314.png 768w, https://www.wikitechy.com/interview-questions/wp-content/uploads/2022/10/local-storage-390x159.png 390w, https://www.wikitechy.com/interview-questions/wp-content/uploads/2022/10/local-storage-820x335.png 820w, https://www.wikitechy.com/interview-questions/wp-content/uploads/2022/10/local-storage-1180x482.png 1180w" sizes="(max-width: 1285px) 100vw, 1285px" /></p>
<h2 id="session-storage">Session Storage</h2>
<ul>
<li>The session storage is same as local storage, but session storage stores data only for one session.</li>
<li>If you close the browser, then data will be deleted or lost.</li>
</ul>
<h2 id="sample-code-2">Sample Code</h2>
<div class="code-embed-wrapper"> <div class="code-embed-infos"> </div> <pre class="language-markup code-embed-pre line-numbers"  data-start="1" data-line-offset="0"><code class="language-markup code-embed-code">&lt;!DOCTYPE html&gt;<br/>&lt;html&gt;<br/>&lt;head&gt;<br/>&lt;script&gt;<br/>function clickCounter() {<br/>  if (typeof(Storage) !== &quot;undefined&quot;) {<br/>    if (sessionStorage.clickcount) {<br/>      sessionStorage.clickcount = Number(sessionStorage.clickcount)+1;<br/>    } else {<br/>      sessionStorage.clickcount = 1;<br/>    }<br/>    document.getElementById(&quot;result&quot;).innerHTML = &quot;You have clicked the button &quot; + sessionStorage.clickcount + &quot; time(s) in this session.&quot;;<br/>  } else {<br/>    document.getElementById(&quot;result&quot;).innerHTML = &quot;Sorry, your browser does not support web storage...&quot;;<br/>  }<br/>}<br/>&lt;/script&gt;<br/>&lt;/head&gt;<br/>&lt;body&gt;<br/><br/>&lt;p&gt;&lt;button onclick=&quot;clickCounter()&quot; type=&quot;button&quot;&gt;Click me!&lt;/button&gt;&lt;/p&gt;<br/>&lt;div id=&quot;result&quot;&gt;&lt;/div&gt;<br/>&lt;p&gt;Click the button to see the counter increase.&lt;/p&gt;<br/>&lt;p&gt;Close the browser tab (or window), and try again, and the counter is reset.&lt;/p&gt;<br/><br/>&lt;/body&gt;<br/>&lt;/html&gt;</code></pre> </div>
<h2 id="output-2">Output</h2>
<p><img loading="lazy" decoding="async" class="alignnone size-full wp-image-5051" src="https://www.wikitechy.com/interview-questions/wp-content/uploads/2022/10/session-storage.png" alt="" width="1287" height="608" srcset="https://www.wikitechy.com/interview-questions/wp-content/uploads/2022/10/session-storage.png 1287w, https://www.wikitechy.com/interview-questions/wp-content/uploads/2022/10/session-storage-300x142.png 300w, https://www.wikitechy.com/interview-questions/wp-content/uploads/2022/10/session-storage-1024x484.png 1024w, https://www.wikitechy.com/interview-questions/wp-content/uploads/2022/10/session-storage-768x363.png 768w, https://www.wikitechy.com/interview-questions/wp-content/uploads/2022/10/session-storage-390x184.png 390w, https://www.wikitechy.com/interview-questions/wp-content/uploads/2022/10/session-storage-820x387.png 820w, https://www.wikitechy.com/interview-questions/wp-content/uploads/2022/10/session-storage-1180x557.png 1180w" sizes="(max-width: 1287px) 100vw, 1287px" /></p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.wikitechy.com/interview-questions/html/what-are-the-different-types-of-storage-in-html5/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
