Essential HTML Tags

Home » Essential HTML Tags

Revision for “Essential HTML Tags” created on January 28, 2015 @ 22:54:45

TitleContentExcerpt
Essential HTML Tags
Basic <a title="HTML" href="http://code.emrysproductions.com/wiki/html/">HTML</a> structure is based around 4 sets of <a title="Tag" href="http://code.emrysproductions.com/wiki/tag/">tags</a> which are needed for every HTML page.
<ul style="list-style-type: square;">
<li>HTML &lt;html&gt;&lt;/html&gt;</li>
<li>Head &lt;head&gt;&lt;/head&gt;</li>
<li>Title &lt;title&gt;&lt;/title&gt;</li>
<li>Body &lt;body&gt;&lt;/body&gt;</li>
</ul>
&nbsp;

<iframe src="http://jsfiddle.net/mapster86/ctcL5mpc/4/embedded/html,result" width="100%" height="300" frameborder="0" allowfullscreen="allowfullscreen"></iframe>

In this example, note everything falls between the HTML tags, the title appears within the head of the document and that the body comes after the head.

<strong>Definition</strong> – <code class="def">&lt;html&gt; &lt;/html&gt;</code>

This basically defines the document as web page. It also identifies the beginning and end of the HTML document. All other tags must fall between the HTML tags.

<strong>Header</strong> – <code class="def">&lt;head&gt; &lt;/head&gt;</code>

The header contains information about the document that will not appear on the actual page, such as the title of the document, the author, which <a title="CSS" href="http://code.emrysproductions.com/wiki/css/">stylesheet</a> to use and also meta tags.

<a title="title" href="http://code.emrysproductions.com/wiki/title/"><strong>Title</strong></a> – <code class="def">&lt;title&gt; &lt;/title&gt;</code>

The title tag defines the title that will appear in the title bar of your web browser. The title must appear between the head tags.

<strong>Body</strong> – <code class="def">&lt;body&gt; &lt;/body&gt;</code>

The body tags contain all the information and other visible content on the page. All your images, links and plain text must go between the <code>&lt;body&gt;</code> and <code>&lt;/body&gt;</code> tags.

After you have set up your page using these tags you can start using some other basic tags for content and headings



Old New Date Created Author Actions
January 28, 2015 @ 22:54:45 Mr H
January 28, 2015 @ 22:54:22 [Autosave] Mr H
January 28, 2015 @ 22:51:17 Mr H
January 28, 2015 @ 22:49:45 Mr H
January 28, 2015 @ 22:48:40 Mr H
January 28, 2015 @ 22:48:19 Mr H
January 28, 2015 @ 22:47:33 Mr H
January 28, 2015 @ 20:06:02 Mr H
January 28, 2015 @ 20:05:01 Mr H
January 28, 2015 @ 20:03:27 Mr H
January 28, 2015 @ 19:15:48 Mr H
January 28, 2015 @ 19:13:16 Mr H
January 28, 2015 @ 19:09:49 Mr H
January 28, 2015 @ 19:09:25 Mr H
January 28, 2015 @ 18:26:21 Mr H
January 28, 2015 @ 18:15:58 Mr H