Structure Of Common Html Tags And Attributes

By:


The tag, which the HTML 3.2 through 4.01 specifications requjl contains the document title. The title does not appear within the brca window, although it is usually visible in the browser's title bar. Between the opening and closing tags, include a title that briefly summarizes yofl document's content To use the tag, enter it between the opefl and closing tags, like this:

Titles should represent the document, even if the document is t out of context. Some good titles include the following:
Sample HTML Code
Learning to Ride a Bicycle
Television Viewing for Fun and Profit
Less useful titles, particularly taken out of context, include the foil
Continued


The tag encloses all the tags, attributes, and information that you want a visitor's browser to display. Almost everything else in this entire book takes place between the tags. To use the tag, enter it below the closing tag and above the closing tag, like this:


If you've been following along, save your document, view it in a browser, and compare it with Figure 2.1 to confirm that you're on the right track. The title appears in the title bar, and some text appears in the document window.

MINIMAL COMPLIANCE FOR STRUCTURE TAGS

As shown in the previous sections, the HTML 4 specification does not require all structure tags. In fact, it requires only two: the tag and the tag. If you choose to use only these two tags, the code would look like this:
O.DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
Transitional //EN ">
The name of a minimal and content free document
Of course, there's no purpose in creating a document with nothing but the minimal tagsthe document doesn't say anything and doesn't present any information. If you use these two tags as a starting paint, however, you can create a standard compliant document and rave yourself a few keystrokes on each new document you create.


APPLYING COMMON TAGS AND ATTRIBUTES

After you include the structure tags, you're ready to start placing ba content in the document body. The following sections show you ho1 include headings, paragraphs, lists, and rules (horizontal lines). Th ^^ elements constitute the basic HTML document components and, unB the structure tags, do appear in the browser window. Learning to apply these basic tags and attributes will prepare you to apply practically afl HTML tag or attribute. As you create your content, keep in mind that its exact appeara vary from browser to browser, as described. For exam{ first-level heading in one browser might appear as approximately 16 Times New Roman Bold, whereas another browser might display i< 14-point Arial Bold Italic. Both browsers display the heading bigger a bolder than other heading and body text, but the specific font, size emphasis will vary.


About the Author:
For more information to visit : -

web design And
web design templates Or
affordable web designing



Article Originally Published On: http://www.articlesnatch.com


|

Loading...
Related....
Videos...

Recent SEO Articles

Comments

Still can't find what you are looking for? Search for it!

Loading

Copyright 2005-2011 ArticleSnatch, LLC - All Rights Reserved.
Privacy Policy | Terms of Service.