Albino Blacksheep » Text Files » HTML and XHTML - Lesson 3

 HTML and XHTML - Lesson 3



Back to Lesson 1, Lesson 2


Common Text Tags.


Now it seems like building a web page is a matter of learning all the types of tags. I will list for you the most basic and commonly used tags for now.


The html, head and body tags are essential. The rest you are to use as needed.


The first header


Code:

<h1> Example Header </h1>


Displays as:

Example Header


The second header


Code:

<h2> Example Header </h2>


Displays as:

Example Header


The third header


Code:

<h3> Example Header </h3>


Displays as:

Example Header


The fourth header


Code:

<h4> Example Header </h4>


Displays as:

Example Header


The Paragraph


Code:

<p> Paragraph </p>


Displays as:


Paragraph


Bold Text


Code:

<b> Bold Text </b>


Displays as:

Bold Text

Italic Text


Code:

<i> Italic Text </i>


Displays as:

Italic Text

Underlined Text


Code:

<u> Underlined Text </u>


Displays as:

Underlined Text

Striken Text


Code:

<s> Striken Text </s>


Displays as:

Striken Text

Horizontal Rule


Code:

<hr />


Displays as:



Line Break


Code:

<br />


Displays as:



Next to Lesson 4