<?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 basic structure Archives - Artificial Intelligence</title>
	<atom:link href="https://www.aiuniverse.xyz/tag/html-basic-structure/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.aiuniverse.xyz/tag/html-basic-structure/</link>
	<description>Exploring the universe of Intelligence</description>
	<lastBuildDate>Sun, 02 Apr 2023 23:43:06 +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>
	<item>
		<title>HTML Basic Structure</title>
		<link>https://www.aiuniverse.xyz/html-basic-structure/</link>
					<comments>https://www.aiuniverse.xyz/html-basic-structure/#respond</comments>
		
		<dc:creator><![CDATA[Maruti Kr.]]></dc:creator>
		<pubDate>Wed, 29 Mar 2023 04:59:09 +0000</pubDate>
				<category><![CDATA[HTML]]></category>
		<category><![CDATA[html basic]]></category>
		<category><![CDATA[html basic structure]]></category>
		<category><![CDATA[html document]]></category>
		<category><![CDATA[html tutorials]]></category>
		<category><![CDATA[html tutorials for beginners]]></category>
		<category><![CDATA[latest course of html]]></category>
		<category><![CDATA[structure of html]]></category>
		<guid isPermaLink="false">https://www.aiuniverse.xyz/?p=16235</guid>

					<description><![CDATA[<p>HTML Documents: All HTML documents must start with a document type declaration:&#160;&#60;!DOCTYPE html&#62;. The HTML document begins with&#160;&#60;html&#62;&#160;and ends with&#160;&#60;/html&#62;. The visible part of the HTML document <a class="read-more-link" href="https://www.aiuniverse.xyz/html-basic-structure/">Read More</a></p>
<p>The post <a href="https://www.aiuniverse.xyz/html-basic-structure/">HTML Basic Structure</a> appeared first on <a href="https://www.aiuniverse.xyz">Artificial Intelligence</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p><strong>HTML Documents</strong>: </p>



<p>All HTML documents must start with a document type declaration:&nbsp;<code>&lt;!DOCTYPE html&gt;</code>.</p>



<p>The HTML document begins with&nbsp;<code>&lt;html&gt;</code>&nbsp;and ends with&nbsp;<code>&lt;/html&gt;</code>.</p>



<p>The visible part of the HTML document is between&nbsp;<code>&lt;body&gt;</code>&nbsp;and&nbsp;<code>&lt;/body&gt;</code>.</p>



<pre class="wp-block-code"><code>&lt;!DOCTYPE html&gt;
&lt;html&gt;
&lt;body&gt;

&lt;h1&gt;My First Heading&lt;/h1&gt;
&lt;p&gt;My first paragraph.&lt;/p&gt;

&lt;/body&gt;
&lt;/html&gt;</code></pre>



<p>Where, </p>



<ul class="wp-block-list">
<li><code><strong>&lt;!DOCTYPE html&gt;</strong></code>&nbsp;Element defines document types (Like HTML5 document).</li>



<li><code><strong>&lt;html&gt;</strong></code>&nbsp;html element define the root element of an HTML page.</li>



<li><strong><code>&lt;head&gt;</code>&nbsp;</strong>Head elements contains meta information about the HTML page</li>



<li><strong><code>&lt;title&gt;</code>&nbsp;</strong>Title element specifies a title for the HTML page.</li>



<li><code><strong>&lt;body&gt;</strong></code>&nbsp;Body element defines the document&#8217;s body, and is a container for all the visible contents, such as headings, paragraphs, images, hyperlinks, tables, lists, etc.</li>



<li><strong><code>&lt;h1&gt;</code>&nbsp;</strong>Heading element defines a large heading.</li>



<li><code><strong>&lt;p&gt;</strong></code>&nbsp; Paragraph element defines a paragraph.</li>
</ul>



<h2 class="wp-block-heading">What is the difference between tags and elements ?</h2>



<p>Tag means the text surrounding by angular bracket is called tags.</p>



<p><strong>Ex:</strong> &lt;p>       &lt;/p></p>



<p>Element means the combination of tag and text is called elements.</p>



<p><strong>Ex:</strong> &lt;p> Welcome to html code&lt;/p></p>



<h2 class="wp-block-heading">HTML Attributes:</h2>



<p>Html attribute is a word which gives additional information about html tags or elements.</p>



<p>Always we have to write the attribute inside the opening tag only.</p>



<p><strong>Syntax:</strong> attribute name= &#8220;attribute value&#8221;</p>



<p>Example: align, style, href, src, alt, &#8230; etc.</p>



<p>Align: This attribute is used for left, right &amp; center.</p>



<pre class="wp-block-code"><code>&lt;!DOCTYPE html>
&lt;html lang="en">
&lt;head>
   
    &lt;title>Attribute&lt;/title>
&lt;/head>
&lt;body>

    &lt;p Align = "center">Good Morning&lt;/p>
    &lt;h1 style="color: crimson;" Align = "center">Hello World &lt;/h1>
    
&lt;/body>
&lt;/html></code></pre>



<p><strong>Output:</strong></p>



<figure class="wp-block-image size-large"><img fetchpriority="high" decoding="async" width="1024" height="576" src="https://www.aiuniverse.xyz/wp-content/uploads/2023/04/Capture-1024x576.png" alt="" class="wp-image-16294" srcset="https://www.aiuniverse.xyz/wp-content/uploads/2023/04/Capture-1024x576.png 1024w, https://www.aiuniverse.xyz/wp-content/uploads/2023/04/Capture-300x169.png 300w, https://www.aiuniverse.xyz/wp-content/uploads/2023/04/Capture-768x432.png 768w, https://www.aiuniverse.xyz/wp-content/uploads/2023/04/Capture.png 1366w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>
<p>The post <a href="https://www.aiuniverse.xyz/html-basic-structure/">HTML Basic Structure</a> appeared first on <a href="https://www.aiuniverse.xyz">Artificial Intelligence</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.aiuniverse.xyz/html-basic-structure/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
