E-Mail:
Get our new Windows 7 eBook (PDF) for $7 with 70+ Tips. Download Now!

HTML and XHTML Introduction Part II

  • No Related Post

In HTML and XHTML Introduction Part I, we covered HTML files, elements and tags, and document structure. The article explains how to set up a basic HTML page, open and view the page, and add structure to the page.

Part II takes a closer look at tags along with their attributes and values. The “invisible” covers line breaks, linking, comments, and spacing. Spacing has its quirks in a Web page. Simply pressing the space bar repeatedly doesn’t add more than one space unless you’re using a word processor.

We can make tags do more than just what they’ve been assigned by adding attributes, or traits. We can add an attribute to the <body> tag, for example, to give the page a different background color instead of using the default white color.

What Do You Think?

 
35 queries / 0.256 seconds.