In this section, browser support for each tag is noted to the right of the tag name. Browsers that do not support the tag are grayed out. Tag usage is indicated below the tag name. Start and end tags are required unless otherwise noted. "Deprecated" means that the tag or attribute is currently supported but is due to be phased out of the HTML specification and is discouraged from use (usually in favor of similar style sheet controls). The attributes listed for each tag reflect those in common use.<body> NN 2, 3, 4, 6 MSIE 2, 3, 4, 5, 5.5, 6 HTML 4.01 WebTV Opera5<body>...</body> (start and end tags optional)
Defines the beginning and the end of the document body. The body contains the content of the document (the part that is displayed in the browser window). Attributes to the <body> tag affect the entire document.
alink="#rrggbb" or color name
Deprecated. Sets the color of active links (i.e., the color while the mouse button is held down during a "click"). Color is specified in hexadecimal RGB values or by standard web color name.
Deprecated. Provides the URL to a graphic file to be used as a tiling graphic in the background of the document.
bgcolor="#rrggbb" or color name
Deprecated. Sets the color of the background for the document. Color is specified in hexadecimal RGB values or by standard web color name.
link="#rrggbb" or color name
Deprecated. Sets the default color for all the links in the document. Color is specified in hexadecimal RGB values or by standard web color name.
text="#rrggbb" or color name
Deprecated. Sets the default color for all the non-hyperlink and unstyled text in the document. Color is specified in hexadecimal RGB values or by standard web color name.
vlink="#rrggbb" or color name
Deprecated. Sets the color of the visited links (links that have already been followed) for the document. Color is specified in hexadecimal RGB values or by standard web color name.
Netscape Navigator 4.0+ only
Specifies the distance (in number of pixels) between the left and right browser edges and the text and graphics in the window.
Specifies the distance (in number of pixels) between the top and bottom edges of the browser and the text or graphics in the window.
Internet Explorer only
When this attribute is set to fixed, the background image does not scroll with the document content.
Specifies the distance (in number of pixels) between the left browser edge and the beginning of the text and graphics in the window.
Specifies the distance (in number of pixels) between the top edge of the browser and the top edge of the text or graphics in the window.
Specifies the distance (in number of pixels) between the right edge of the browser and the text or graphics in the window.
Specifies the distance (in number of pixels) between the bottom edge of the browser and the bottom edge of the text or graphics in the window.
Defines the head (also called "header") portion of the document that contains information about the document. The <head> tag has no directly displayed content, but serves only as a container for the other header tags, such as <base>, <meta>, and <title>.
Provides the location of a predefined metadata profile that can be referenced by <meta> tags in the <head> of the document. This attribute is not yet implemented by browsers.
Placed at the beginning and end of the document, this tag tells the browser that the entire document is composed in HTML.
Indicates the direction the text should be rendered by the browser. The default is ltr (left-to-right), but some languages require rtl (right-to-left) rendering. The lang and dir attributes are part of the internationalization efforts incorporated into the HTML 4.01 specification. They can be added to almost any HTML element, but their use in the <html> tag is common for establishing the language for a whole document.
Indicates the primary language of the document
version="-//W3C//DTD HTML 4.01//EN"
Deprecated. Specifies the version of HTML the document uses (the value above specifies 4.01). It has been deprecated in favor of the SGML <!DOCTYPE> declaration placed before the <html> tag.
Required. Specifies the value of the meta tag property and is always used in conjunction with name= or http-equiv=.
The specified information is treated as though it were included in the HTTP header that the server sends ahead of the document. It is used in conjunction with the content attribute (in place of the name attribute).
Specifies a name for the meta information property.
Provides additional information for the interpretation of meta data. This is a new attribute introduced in HTML 4.0.
Required. Specifies the title of the document. The title generally appears in the top bar of the browser window. According to the HTML 4.01 specification, all documents must contain a meaningful <title> within the <head> of the document.
Web Designing Related Interview Questions
|HTML Interview Questions||HTML 5 Interview Questions|
|Flash Interview Questions||Graphic Design Interview Questions|
|Illustrator Interview Questions||Dreamweaver Interview Questions|
|UI Developer Interview Questions||Dreamweaver CS3 Interview Questions|
|CSS Advanced Interview Questions||Web Developer Guide Interview Questions|
|Log Shipping Interview Questions||Spring Boot Interview Questions|
|UI Designer Interview Questions||Bootstrap 4 Interview Questions|
Web Designing Related Practice Tests
|HTML Practice Tests||HTML 5 Practice Tests|
|Flash Practice Tests||Graphic Design Practice Tests|
|Illustrator Practice Tests||Dreamweaver Practice Tests|
|UI Developer Practice Tests||Dreamweaver CS3 Practice Tests|
|Web Developer Guide Practice Tests||Advanced jQuery Practice Tests|
Web Designing Tutorial
Designing For A Variety Of Browsers
Designing For A Variety Of Displays
Web Design Principles For Print Designers
A Beginners Guide To The Server
Printing From The Web
Structural Html Tags
Adding Images And Other Page Elements
Specifying Color In Html
Cascading Style Sheets
Server Side Includes
Designing Graphics With The Web Palette
Audio On The Web
Video On The Web
Flash And Shockwave
Introduction To Smil
Introduction To Dhtml
Introduction To Xml
Wap And Wml
All rights reserved © 2018 Wisdom IT Services India Pvt. Ltd
Wisdomjobs.com is one of the best job search sites in India.