Tuesday 24 February 2015

7d.

<!DOCTYPE html>
<html>
<body>

<img src="http://i0.kym-cdn.com/photos/images/list/000/777/908/28a.gif" alt="http://i0.kym-cdn.com/photos/images/list/000/777/908/28a.gif" width="104" height="142">

</body>
</html>

7c.

<!DOCTYPE html>
<html>
<body>

<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>

</body>
</html>

6a.  

<!DOCTYPE html>
<html>
<body>

<h1>My First Heading</h1>

<p>My first paragraph.</p>

<img src="http://i.imgur.com/WPeazU8.gif" alt="Frog" style="width:48px;height:48px">

</body>
</html>
6. <html>
    <head>
      <title>Josh Henderson</title>
     </head>
    </html>

Tuesday 17 February 2015

5. "My First Page" appears in the tab


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: 

My First Heading

My first paragraph.
1.6     http://www.w3schools.com/html/default.asp

Great site for HTML guides


Monday 16 February 2015