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>
<pre>
Priyada Mohanan
Ernakulam,Cochin
Kerala
India
</pre>
</body>
</html>
OUTPUT :
Note :
<br> is used to start a new line.
Here instead of <br> , we add <pre>.
While using <pre> , no need to use <br> in each line.(Check previous example also.)
Back to HTML
No comments:
Post a Comment