HTML basic: Page 2

HTML basic Print E-mail
Contributed by Joe   
Tuesday, 04 July 2006

  • Adding the html Element

The html element is considered the root element of any HTML document.so add the html element

For example

 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

</html>

  • Then add the head and title Elements

Description of head elements

title  This element enables you to title your document. This title will then appear in the title bar of your browser. The title element is required.

meta The meta element is used for numerous concerns, including keywords and descriptions, character encoding, and document authorship. The meta element is not required.

script This element enables you to insert scripts directly into your document or, as is the preference, link from the page to the script you'd like to use. It is used as needed.

style  The style element enables you to place style information into the individual page. This is known as embedded style,like css file.

link  The link element is most commonly used to link to an external style sheet,

Example

<title>Hello World!</title>



Last Updated ( Tuesday, 04 July 2006 )

  home              contact us

 

©2006-2009 DeveloperZone.biz   All rights reserved     powered by Mambo Designed by Siteground