Open note pad (wordpad or MS word) , then type the commands as given below :
Save the file as . htm (dot htm) or . html (dot html) .
Open any web page , and browse the created page to view the web page .
Refer HTML - An Introduction before creating any web page.
===============================================
<html>
<head>
<Title>My web page</title>
</head>
<body>
<br>Priyada Mohanan</br>
<br>Ernakulam,Cochin</br>
<br>Kerala</br>
<br>India</br>
</body>
</html>
OUTPUT :
Note : <br> is used to start a new line.It is an EMPTY(STAND ALONE) tag.
That is <br> has no closing tag(check introduction)
Check the difference in output, of this and next example.
Back to HTML
No comments:
Post a Comment