Session 2
In coding:
<!DOCTYPE html>
<html>
<head>
<title>Homepage</title>
</head>
<body>
<!-- Text -->
<h1>Hello World!!</h1>
<p>This is mah new page!!</p>
<!--images -->
<img src="happy.jpg" alt="I was happy">
<!-- links to other documents -->
<a href="see_more.html">See More</a>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<title>Homepage</title>
</head>
<body>
<!-- Text -->
<h1>Hello World!!</h1>
<p class="strapline">
This is mah new page!!</p>
<!--images (self-closing) -->
<img src="happy.jpg"
alt="I was happy">
<!-- anchor tags (links) -->
<a href="/see_more.html" id="mainCTA"
title="Go to happiness products page">
See More</a>
<!-- lists: unordered -->
<ul>
<li>Tree</li>
<li>Pig</li>
</ul>
<!-- lists: ordered -->
<ol>
<li>one</li>
<li>two</li>
</ol>
</body>
</html>
<a href="" download>
1) Practice starting a new project 10 times from scratch.
2) Pet Shop Website: Make an amazing pet shop website with
a homepage and 3 other pages (cats, dogs, parrots, etc.)
3) Familiarise yourself with MDN HTML guide. You don’t need to memorise it, you just need to get used to looking up elements and their attributes. (Try looking up <a>, <img> and <ul>, <ol>, <li> and <dl> - don’t worry if what you're reading doesn’t all make sense yet.)