HTML DOCUMENT:
Html
document consists of html tags and some text.
HEML TAGS:
1.
Html
tags are used to markup html element.
2.
Html
tags are surrounded by <and> Characters these characters are called as
angler brackets.
3.
Html
tags always come in pairs. That is tags contain a starting tag and ending tags.
4.
The
text in b/w the starting tag and ending tag is called as element content.
5.
Html
tags are free defined tags.
6.
Html
tags are not case sensitive. That the upper and lower document is html
document.
7.
The
html tag <html> in a document represents. That the document is html
document.
8.
The
entire html document must be written starting html tag <html> and ending
html </html>.
9.
Html
document is divided into two sections.
(I) Head section:
This section is used to provide general
information about the html doc. This section is representing by <head>.
Ex: Title, Meta etc.
(II) Body section:
This section is used to display text are images on the
Browser. This section is representing by <body>.
Html document structure:
<html>
<head>
<title> </title>
</head>
<body>
Welcome to any web page
</body>
</html>
Step1: Processor to write executes the html document. Open an
editor and type html document.
<html>
<head>
<title>First
html</title>
</head>
<body>
Welcome
to any web page
</body>
</html>
Step2: Save the html document any name having. Html as the
extension.
Step3: To execute the html document to open it in any
Browser. To html language is an error free language. That is it will not display
any error massage on the Browser. Even it the html document contain any error.
0 comments:
Post a Comment