Chapter 7: Lists, Images, and Links - HTML
Chapter 7: Lists, Images, and Links
Fill in the Blanks
- The <ul> tag is used to create an _______ list.
- The <ol> tag creates an _______ list.
- The <li> tag is used to define _______ in a list.
- The <img> tag uses the _______ attribute to specify the image source.
- Hyperlinks are created using the _______ tag.
Answer: unordered
Answer: ordered
Answer: list items
Answer: src
Answer: <a>
True or False
- The <ol> tag is used to create unordered lists.
- The <a> tag is used to add images to a webpage.
- The src attribute is mandatory for the <img> tag.
- Ordered lists use numbers or letters by default.
- The <li> tag cannot be used outside of a list.
Answer: False
Answer: False
Answer: True
Answer: True
Answer: True
Answer in One Sentence
- What is the purpose of the <ul> tag?
- Which attribute is required for the <img> tag?
- How do you create a hyperlink in HTML?
- What is the difference between <ul> and <ol>?
- Which tag is used to define list items?
Answer: The <ul> tag is used to create unordered lists in HTML.
Answer: The src attribute is required for the <img> tag to specify the image source.
Answer: You create a hyperlink using the <a> tag with the href attribute.
Answer: The <ul> creates unordered lists, while <ol> creates ordered lists.
Answer: The <li> tag is used to define list items.
Match the Following
Element | Function |
---|---|
<ul> | Creates unordered lists |
<ol> | Creates ordered lists |
<li> | Defines list items |
<img> | Adds images to the webpage |
<a> | Creates hyperlinks |
Comments
Post a Comment