Wednesday, 13 April 2011

Easy HTML/CSS Foundamental


1: HTML Page Format
<HTML>
     <HEAD>
  <TITLE> Test Page! </TITLE>

     </HEAD>
     <BODY>
          <H1> Hello World </H1>
          <! Rest of page goes here. This is a comment. >
     </BODY>
</HTML>
2: BODY Element
<BODY attributename="attributevalue">
@Example: <BODY bgcolor="#FF3366">
Deprecated attributes (but still used)
  • BACKGROUND=“Sunset.jpg” (can be tiled)
  • BGCOLOR=color (e.g. BGCOLOR="red">
  • TEXT=color (e.g. TEXT="red">
  • LINK=color (unvisited links) (e.g. LINK="green">
  • VLINK=color (visited links) (e.g. VLINK="green">
  • ALINK=color (when selected) (e.g. ALINK="green">

3: Heading
<H1 ...> text </H1> -- largest of the six
<H2 ...> text </H2>
<H3 ...> text </H3>
<H4 ...> text </H4>
<H5 ...> text </H5>
<H6 ...> text </H6> -- smallest of the six
[Default align=left]


Continue Processing...

No comments:

Post a Comment