Introduction to HTML
- Opening and closing tags
- Tags with only opening tag
- Browsers are flexible
Tags:
- html, head, title, body, h1, p, br
- a, img
- div, span
- link, style, script
Attributes
- href, src, alt, width, height
- id, class
<html>
<head>
<title>Text on the tab</title>
</head>
<body>
<h1>Some title-ish sentence</h1>
<p>
A paragraph of text.
</p>
<a href="http://perlmaven.com/">Perl Maven</a>
<br>
<img src="../img/head-austin.jpg" alt="Austin" width="470" height="75" />
</body>
</html>