By the end of this class, students will be able to:
<script> tag.<code> tag.An HTML document is the skeleton of a web page.
Every web page must follow a standard structure so browsers can understand it.
<!DOCTYPE html>
<html lang="en">
<head>
<title>My First Web Page</title>
</head>
<body>
<h1>Hello World</h1>
<p>This is my website.</p>
</body>
</html>
| Tag | Purpose |
|---|---|
<!DOCTYPE html> |
Tells browser this is HTML5 |
<html> |
Root element of the page |
<head> |
Contains page info (not visible) |
<body> |
Visible content of the page |
Meta tags provide information about the webpage to browsers and search engines.