<a href="http://www.w3schools.com">This is a link</a>
<a http://www.facebook.com">This is also a link</a>
</body>
</html>
7b.
<!DOCTYPE html>
<html>
<body>
<p>This is a paragraph.</p>
<p>This is a paragraph.</p>
<p>This is a paragraph.</p>
<p> These are all paragraphs :).</p>
</body>
</html>
7a.
<!DOCTYPE html>
<html>
<body>
<h1>This is heading 1</h1>
<h2>This is also a heading 2</h2>
<h3>This is also also a heading 3</h3>
<h4>This is also also also a heading 4</h4>
<h5>This is also also also also a heading 5</h5>
<h6>This is also also also also also a heading 6</h6>
</body>
</html>
6f.
<!DOCTYPE html>
<html>
<body>
<!-- comments use the exclamation mark for a tag -->
<p>This is a paragraph.</p>
<!-- This is a hidden comment that only the developer can see -->
</body>
</html>
Monday, 23 February 2015
6e.
Comments are useful for the developers so they can understand why certain things have been put in and so they don't forget to add or change other things.
6d.
Comments are written in HTML using the <!--> tag
6c.
<!DOCTYPE html>
<html>
<body>
<p>This is a paragraph.</p>
<p>This is a paragraph.</p>
<p>This is a paragraph.</p>
<p> This is a unicorn.</p>
</body>
</html>
6b.
<!DOCTYPE html>
<html>
<body>
<h1>This is heading 1</h1>
<h2>This is heading 2</h2>
<h3>This is heading 3</h3>
<h4>This is heading 4</h4>
<h5>This is heading 5</h5>
<h6>This is heading 6</h6>
4. <p> Hello world! </p> would show up as:Hello world!
3. Tags surround content and apply meaning to it Attributes apply extra information to the tags Elements are the parts between tags, for example, the parts between <body> and </body>
2. HTML stands for HyperText Markup Language, some examples of HTML are: <!DOCTYPE html> <html> <body> <h1>My First Heading</h1> <p>My first paragraph.</p> </body> </html> This would come up as: