How to design HTML Layout?
Hi freiends
Collapse
X
-
-
Hope u will understand by below example:
<div id="header">
<h1>City Gallery</h1>
</div>
<div id="nav">
London<br>
Paris<br>
Tokyo<br>
</div>
<div id="section">
<h2>London</h2>
<p>
London is the capital city of England. It is the most populous city in the United Kingdom,
with a metropolitan area of over 13 million inhabitants.
</p>
<p>
Standing on the River Thames, London has been a major settlement for two millennia,
its history going back to its founding by the Romans, who named it Londinium.
</p>
</div>
<div id="footer">
Copyright © W3Schools.com
</div>
</body>
</html>
RESULT
Comment
-
-
-
-
HTML Layout/Structure : Given below is the basic structure/layout of the HTML which is follow generally followed
<!doctype HTML><!-- Its the declaration of the document type. current one is for html5 -->
<HTML><!- Everything is in between html starting and closing tag-->
<head>
<title>
</title>
</head>
<body>
</body>
</HTML>
Using this basic HTML layout you can design the webpage.Comment
Comment