Introduction To HTML Tags & The Basic Webpage Structure
Introduction To HTML Tags & The Basic Webpage Structure
<body>
</body>
</html>
MORE ELEMENTS
- p: sets off paragraphs
- h1, h2, h3, ... h6: heading sizes for paragraphs or section headings
- a: anchor for a link to another page
- img: pulls an image into your document from a file or outside source
- hr: creates a horizontal line across the width of your page
STARTING WITH CONTENT
NESTING
- Tags can be nested
- Note that some tags may NOT have closing tags (hr, img, br)
<body>
<h1> This is the title to my page!</h1>
<p> Welcome to my website where you will have access to an amazing amount of
interesting information. Read my latest article of puppies here</p>
<hr />
<p>© Adam Scher</p>
</body>
STRONG & EMPHASIS
<strong> </strong>
strong will bold text to mark as important
<em> </em>
em adds emphasis to text, linguistic stress on the content tagged
<a href=“http://www.google.com"
target=“_blank”>Click Here</a>