HTML Basics

PreviousNext

Basic Tags

EXAMPLE B - Unformatted HTML source

  <HTML> 

  <HEAD> 

  <!-- This comment will NOT appear on the Browser --> 

  <TITLE>This Title will be used by the Browser</TITLE>

  </HEAD> 

  <BODY> 

  <H1>Main heading type 1</H1>
  <!-- We should get a Horizontal line below the Main Heading --> 

  <HR> 

  <H2>Heading type 2</H2> 

  <P><EM>Emphasised text</EM> <STRONG>Strong text</STRONG> 

  <CITE>Cited text</CITE> <B>Bold text</B> <I>Italic text</I></P>  

  </BODY> 

  </HTML> 

Let's take a look at the formatted code

PreviousNext

Agenda

HTM070