Things we’ve covered so far Basic HTML Some advanced tags i.e. Styling using CSS ...

6
Things we’ve covered so far Basic HTML Some advanced tags i.e. <ul> Styling using CSS Background-color Text Changing the font on your site Inserting images So what’s next??

Transcript of Things we’ve covered so far Basic HTML Some advanced tags i.e. Styling using CSS ...

Page 1: Things we’ve covered so far  Basic HTML  Some advanced tags i.e.  Styling using CSS  Background-color  Text  Changing the font on your site  Inserting.

Things we’ve covered so far

Basic HTML Some advanced tags i.e. <ul> Styling using CSS

Background-color

Text

Changing the font on your site Inserting images

So what’s next??

Page 2: Things we’ve covered so far  Basic HTML  Some advanced tags i.e.  Styling using CSS  Background-color  Text  Changing the font on your site  Inserting.

LINKS

Page 3: Things we’ve covered so far  Basic HTML  Some advanced tags i.e.  Styling using CSS  Background-color  Text  Changing the font on your site  Inserting.

A link

In order to add a link to a website we have to use another tag called the a tag

<a href=“the link”>Some text of the link</a>

Page 4: Things we’ve covered so far  Basic HTML  Some advanced tags i.e.  Styling using CSS  Background-color  Text  Changing the font on your site  Inserting.

Menus

A great way to provide links to users of the site is through a menu.

Vertical Menu

Horizontal Menu

Page 5: Things we’ve covered so far  Basic HTML  Some advanced tags i.e.  Styling using CSS  Background-color  Text  Changing the font on your site  Inserting.

The HTML

<ul>

<li><a href=http://www.bbc.co.uk>The BBC</a></li>

<li><a href=http://www.twitter.co.uk>Twitter</a></li>

<li><a href=http://www.facebook.co.uk>Facebook</a></li>

</ul>

The code

Output

Page 6: Things we’ve covered so far  Basic HTML  Some advanced tags i.e.  Styling using CSS  Background-color  Text  Changing the font on your site  Inserting.

Lets make it look good

Using CSS we can change the look and feel of the list, to make it more like a menu.

It only needs a couple of lines in CSS

The CSS