Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Level 1 - Week 4

Sponsored · SiteGround - Reliable hosting with speed, security, and support you can count on.

Level 1 - Week 4

Avatar for Graham Lewis

Graham Lewis

June 23, 2015

More Decks by Graham Lewis

Other Decks in Technology

Transcript

  1. Links can take you to... • another website • another

    page on the same website • another part of the same page • a particular part of a different page They can also open new browser windows (or tabs) and open an email client
  2. Link to another page on the same website <a href="about.html">About</a>

    ! Ralative path - the same server is assumed - the current server address is automatically pre-pended to the address
  3. Link to another part of the same page Requires two

    things: 1. A tag with an id attribute, and 2. the link to that tag For example... <a href="#section_1">Section 1</a> <h2 id="section_1">Section 1</h2>
  4. Link to a particular part of a different page •

    Works exactly the same as linking to a different part of the same page, but now requires the path to the appropriate file. • This path can be absolute or relative.
  5. Styling lists li { list-style-type: none; /* For unordered lists:

    none, disc, circle, square For ordered lists: decimal, decimal-leading-zero, lower-alpha, upper-alpha, lower-roman, upper-roman */ list-style-image: url('my-bullet-point.png'); /* can be an image! */ list-style-position: inside; /* or outside */ }