1.

Explain the basic tags in HTML with examples (any five tags). 

Answer»

The basic tags of HTML are <HTML>, <HEAD>, <TITLE>, and

<BODY>.

Tags are instructions that are embedded directly into the text of

the HTML document. <HTML>

<HEAD>

<TITLE> Welcome to HTML Page </TITLE>

</HEAD>

<BODY> <CENTER>

<H1> Welcome to the World of Web Paging </H1>

</CENTER>

</BODY>

</HTML>

A Web Page is marked by an opening HTML tag and a closing tag. The head section is defined with a starting tag and a closing tag. This section is usually contains a title for the Web Page. The text enclosed in the tags will appear in the title bar of the Web Browser when it displays the page.

The tag contains the entire information about the Web Page and its behavior. We can set up many options to indicate how our page must appear on the screen (like colour, location, etc..)

The body shown above contains instructions to display the following message in centre of the screen using tag.



Discussion

No Comment Found

Related InterviewSolutions