Monday, October 10, 2011

HTML tags


We know that HTML is a markup language and in the above we use many of the tags to markup tags.
<html>
<title>
<body> etc are the tags of HTML
Every tag consists of a tag name, sometimes followed by an optional list of tag attributes , all placed between opening and closing brackets (< and >).
According to the HTML standard, tag and attribute names are not case-sensitive. There's no difference in effect between <head>, <Head>, <HEAD>, or even <HeaD>; they are all equivalent. But with XHTML, case is important: all current standard tag and attribute names are in lowercase.
The basic structure for all HTML documents is simple and should include the following minimum elements or tags:
·         <html> - The main container for HTML pages
·         <head> - The container for page header information
·         <title> - The title of the page
·         <body> - The main body of the page
۞Remember that before an opening <html> tag, an XHTML document can contain the optional XML declaration, and it should always contain a DOCTYPE declaration indicating which version of XHTML it uses.

No comments:

Post a Comment