-A title tag is an HTML code that generates the words that appear in the top bar of your Web browser.
The HTML code for a title tag looks like this:
<HEAD>
<TITLE>XYZ Company Home Page</TITLE>
</HEAD>
Title tag shows the words which describe your web page. Few website designs and CMS generate the title tag automatically from the information provided in the website. But these title tags aren’t useful for higher search engine optimization. With little knowledge of software and psych of the visitor one can take the optimum benefit from title tags.
2. What tag is used to make text appear in bold?
- Bold text can be a useful tool on a website or blog. You can use it to emphasize a point--to differentiate a block of text from the rest. If you're using a webpage editor with a graphical user interface, creating bold text can be as simple as highlighting the text and clicking the "B" button. If you prefer to create the HTML code without the use of such an editor, the code is still simple.
3. What tag is used to indicate the start of the contents of a WEB page?
- The meta tag abstract can be used to indicate in just a very short sentence what the web-page is about. So every web-page of your website gets it's own abstract-tag.
4. What tag is used to indicate the start of the HTML file?
- The <body> tag includes the HTML body of the document. Everything inside the <body> tag (other than those within the <script> tag) is displayed on the browser inside the main browser window.
The <body> tag may contain several attributes. The most commonly used ones are listed below:
- bgcolor: This is the background color of the entire HTML document, and may be specified either by the color name directly or by the six-digit hex code.
- alink: The color of the links.
- vlink: The color of the visited links.
- topmargin: The margin from the top of the browser window.
- leftmargin: The margin from the left of the browser window.
5. What tags are used for comments in an HTML file?
- Marks the beginning and end of JavaScript code. Use of the HTML comment tags within ensures that a browser that does not support JavaScript (or perhaps where someone has disabled it in their browser preferences) will ignore all of the code. Each line in the code ends with a semi-Colin ;
JavaScript can reside either in the <body>...</body>or the <head>..</head> of an HTML.