Web Development 1

Dr Derek Bridge

School of Computer Science & Information Technology

University College Cork

Background: Unix file systyems

Background: Unix file systyems


Relative pathnames

Absolute URLs and relative URLs

Using absolute and relative URLs

External link

Internal link

Class exercise

User web sites

Linking to a point in a web page

The id attribute

URL fragments


<!DOCTYPE html>
<html lang="en">
        <meta charset="utf-8" />
        <title>A Long Page</title>
        <h1 id="top">A Long Page</h1>
        <!-- Lots and lots and lots of paragraphs and other content here! -->
        <a href="#top">Go to top</a>