HTML
HTML (Hyper Text MarkUp Language) is used to create web pages. The codes are called tags. The tags are given within < and >.
There are two types of tags ,
i. Container Tag : It has both opening and closing tags.
e.g : <html> </html>
ii. Empty Tag : It has only a opening tag.
e.g : <br>
e.g : <br>
The basic structure of a HTML document is
<html>
<head>
<title>
</title>
</head>
<body>
………
……..
</body>
</html>
Whatever is typed between <title> and </title> will be displayed on the title bar not in the web page.
<html>
</head>
<body>
Your text goes here.
Your text goes here.
</body>
</html>
<head><title> My Page BCBS</title>
</head>
<body>
Bishop Cotton Boys' School
</body>
</html>
The data entered between <body> and </body> only will be displayed in the web page.
Line break tag <br>:
It moves the cursor to the next line.
Paragraph Tag <p> :
It leaves a blank line.
Line break tag <br>:
It moves the cursor to the next line.
Paragraph Tag <p> :
It leaves a blank line.
<head><title> My Page BCBS</title>
</head>
<body>
BCBS <p>
</html>
No comments:
Post a Comment