Skip to main content
Lists, Images and Links in HTML
Quick Check
Fill in the blanks.
- An unordered list is a list of items that are marked with bullets.
- To create an ordered list, you use the <OL> tag and each item in the list starts with the <LI> tag.
- The START attribute in an ordered list specifies the number (or letter) with which the list would start.
- The reversed attribute in an ordered list specifies that the list order should be descending.
- To change the bullet style to square in an unordered list, the TYPE attribute needs to be set to square.
Choose True or False for the following statements.
- The <marquee> tag is a standard HTML tag used to create a scrolling text or image on a web page. True
- To display an image on a web page, you can use the <IMG> tag and specify the image source (SRC) using the SRC attribute. True
- Including the ALT attribute for an image is a recommended practice to provide alternate text if the browser cannot load the image. True
- The mailto: tag is used to create hyperlinks that allow visitors to send an e-mail message directly from a web page. True
Time to Perform
A Fill in the blanks.
- Lists are one of the ways to provide information in a structured and easy-to-read format.
- A list of items that are marked with bullets is called the unordered list.
- A list that is marked with numbers is the ordered list.
- The type attribute specifies the number (or letter) with which the list would start.
- The reversed is a Boolean attribute.
B State whether the following statements are true or false.
- The list starts with the <UL> tag and each item in the list starts with the <LI> tag. True
- The unordered list starts with the <OL> tag and each item in the list starts with the </LI> tag. False
- The Start attribute takes a number as value. True
- Reversed attribute specifies that the list order should be ascending. False
- The Type attribute specifies the type of numbering and bullets used in the list. True
C Name the following.
- A list within a list. Nested List
- Non-standard HTML tag used to create a scrolling text. MARQUEE
- Value of the SRC attribute. Image Address
- Syntax to define the image. <IMG SRC = "address">
- Attribute to define an alternate text for an image. ALT
D Match the following.
- Pixels or % → defines the height of marquee.
- Pixels → specifies horizontal space around the marquee.
- Seconds → defines how long to delay between each jump.
- Color value → specifies the background color.
- Number → defines how far to jump.
E Answer the following questions.
- Write a note on lists and its types.
Lists are useful in providing information in a structured format.
The three types of lists are:
a) Unordered lists: Here, the items are marked with bullets.
b) Ordered lists: Here, the items are marked with numbers (or letters).
c) Definition lists: It is a list of items with their explanations.
- Describe the nested list and the marquee tag.
A list within a list is called a nested list. The <marquee> tag creates a scrolling text or an image.
- Differentiate between the two types of hyperlinks.
Following are the two types of links:
a) External Hyperlink: It directs to another location in a different web page.
b) Internal Hyperlink: It directs to different sections of the same web page.
- How are images used as hyperlinks?
By placing the <IMG> tag within the <A> tag.
- How will you add e-mail link on a web page? Explain giving an example.
Using the mailto link.
< href = "mailto:askboard@microsoft.com">
Extra Questions.
- Unordered list is also known as bulleted list.
- Ordered list is used where it is required to count the number of items.
- The <DT> tag starts the definition title and the <DD> tag starts the definition description.
- The image that is displayed when the web page is opened is called inline image.
- The images that are not displayed automatically with other content on the web page is called external image.
- mailto saves our time. True
- Ordered lists can be nested in an unordered list and vice-versa. True
- Give the full forms:
a) GIF - Graphic Interchange Format
b) XBM - X Bitmap
c) JPEG - Joint Photographic Experts Group
- Name the three types of bullets used in unordered lists.
a) Circle
b) Disc (default)
c) Square
- Name the 4 possible values for the direction attribute in the <marquee> tag.
a) up
b) down
c) left
d) right
Comments
Post a Comment