Wednesday, 15 October 2014

OUGD504: Brief 3- Learning basic HTML

I initially found the language of html completely confusing but it is slowly making more sense as I try examples of different tags in small steps. 

<!DOCTYPE html> is always the first line. 
<html> is on the line underneath this with the last line being </html> 
anything with <> is called a tag/tags. 

HTML has two parts a head and body. Head comes after the html tag and says <head> this closes with </head> to then add a title within the header you must put <title> </title> in-between the header tags. 

Body content is after the header and always begins with <body> and ends with </body>
Paragraphs are created with <p> </p> and headings of these paragraphs are put above <p> headings are written as <h1> </h1> and are sized from h1 to h6. 

To add links within the body write: <a href="blah blah.com"> description word </a>

Adding images: <img src="http://www.jrfnjrnr.jpg"/>

Adding a clickable image (to a link): 
<a href="link">
              <img src="image link.jpg"/>
</a>

No comments:

Post a Comment