Presentation is loading. Please wait.

Presentation is loading. Please wait.

COMP101 – Exploring Multimedia and Internet Computing LA2 (Thur 14:00 – 16:50) TA: Jackie Lo.

Similar presentations


Presentation on theme: "COMP101 – Exploring Multimedia and Internet Computing LA2 (Thur 14:00 – 16:50) TA: Jackie Lo."— Presentation transcript:

1 COMP101 – Exploring Multimedia and Internet Computing LA2 (Thur 14:00 – 16:50) TA: Jackie Lo

2 Lecture Review  HTML attributes Keyword placed inside angular brackets of the opening tag E.g.  align, size

3 Lecture Review  Color attribute 6 hexadecimal numbers E.g.  #FFFF00, #FFFFFF, #FF0000 216 “ Web-safe ” colors

4 Lecture Review  Image attributes src for file name of image width for width of image height for height of image alt for text description when mouse pointing align for fitting text around image

5 Lecture Review  body attribute background for file name of background image

6 Lecture Review  Style sheets In-line style: the style attribute in tags Internal style sheet: in the “ head ” section  applying to the HTML page ONLY External style sheet: in a separate file with.css extension  applying to pages that link to it

7 Lecture Review  css In-line > Internal > External  i.e. in-line styles will override all other styles selector attributes  class for a number of elements that belong to the same class Use “. ” in external style sheets  id for a particular element Use “ # ” in external style sheets

8 Lecture Review  Page layout to define a sector on the webpage Use CSS to define the size, location, and background color of the box

9 Lecture Review  XHTML Invalid HTML pages is harmful to web development XHTML define strict rules to solve the problem

10 Lecture Review  All tags and attributes should be in lower case  All open tags must be closed exceptions: ,,,  All attribute values must be quoted  Use id instead of name


Download ppt "COMP101 – Exploring Multimedia and Internet Computing LA2 (Thur 14:00 – 16:50) TA: Jackie Lo."

Similar presentations


Ads by Google