Sie sind auf Seite 1von 2

Tutorial No: 02

1.
2.
3.
4.
5.

What are the character entities? Why we use character entities?


What is a hyperlink?
When we use hyperlinks in HTML pages?
Define target attribute values of the anchor tag and describe one by one.
HTML <a> href Attribute

<a href="URL">Visit URL</a>


URL- The URL of the link.
Possible values:

An absolute URL - points to another web site (like ref="http://www.google.com")


A relative URL - points to a file within a web site (like href="ap.html")
Link to an element with a specified id within the page (like href="#top")
Other protocols (like https://, ftp://, mailto:, file:, etc..)
A script (like href="javascript:alert('Hello');")

Folder structure of your website is given below.

sjp.html
Applied Science
ap.html
Computer Science department
cs.html
ict.html
Management Studies

i.

ii.

iii.

Design sjp.html which having links to navigate to Applied Science homepage


(ap.html) and Computer Science department two subject pages (cs.html and
ict.html)
Design ap.html which having links to navigate to university homepage
(sjp.html) and two subject pages (cs.html and ict.html) under computer
science department.
Design cs.html and which having links to navigate to university homepage
(sjp.html), Faculty homepage(ap.html) and ICT subject homepage (ict.html)

6. What is CSS?
7. How we can apply CSS to a web page? Give one example for each method.
8. Define the class selector and the id selectors in CSS.

Das könnte Ihnen auch gefallen