Term-II Worksheet-1 HTML- Images, Links and Tables (4)
Term-II Worksheet-1 HTML- Images, Links and Tables (4)
Q5. What are the various attributes associated with IMG tag?
ATTRIBUTES DESCRIPTION
ALIGN It is used to align am image on the web page- Left, Right, Top, Middle and
Bottom.
ALT It specifies which alternate text should be displayed , if a selected image is not
displayed.
SRC SRC stands for Source. It is the source of the image. It specifies the source (URL-
Uniform Resource Locator) of the image.
HEIGHT It specifies the height of the image in pixels.
WIDTH It specifies the width of the image in pixels.
BORDER It adds border around the image.
F. Differentiate between the following:
1. Bulleted list tag and Numbered list tag
Bulleted list tag Numbered list tag
a) It is also known as unordered list. a) It is also known as ordered list.
b) <UL> tag is used to create it. b) <OL> tag is used to create it.
c) It is used for items that don’t need c) It is used for items that need a
a specific sequence or ranking. specific order or ranking.
d) Displays items with bullet points: d) Displays items with numbers
Disc by default. (1,2,3…) by default.
e) It has one attribute TYPE. e) It has two attributes TYPE and
START.
2. External Linking and Internal Linking
Internal Linking External Linking
a) These are the links to the pages a) These are links outside your
within your own website. own website.
b) Links can be either absolute or b) These links must always be
relative. absolute.
c) Helps users to navigate a website. c) Refers readers to external
resources.