HTML and XHTML Introduction Part II
- 0
- Add a Comment
- 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.
