HTML Tags and Closing Tags
Which of the following HTML tags does NOT require a closing tag? For example, in a paragraph, you might use the u003Cbru003E tag to break the line.
- u003Cbru003E
- u003Cpu003E
- u003Cdivu003E
- u003Cspanu003E
- u003Ch1u003E
HTML Formatting
What is meant by formatting in HTML? For example, using tags to make text bold or italic.
- Changing how text looks using special tags like u003Cbu003E or u003Ciu003E
- Adding links to other websites
- Creating a new web page
- Adding comments to your code
- Saving your file as .html
Difference Between Tags and Elements
In HTML, what is the difference between a tag and an element? For example, u003Cpu003EThis is a sentence.u003C/pu003E
- A tag is part of an element; an element includes the tags and content
- Tags are only for headings; elements are for lists
- Tags and elements are exactly the same
- Tags are used for CSS only; elements are for HTML
- Elements cannot contain text
Semantic Elements
Which of the following is a semantic HTML element? For example, it clearly describes its meaning in the code.
- u003Carticleu003E
- u003Cspanu003E
- u003Cdivu003E
- u003Cbu003E
- u003Cfontu003E
Image Maps
If you want to use a single image that links to several different web pages using defined areas, which HTML feature should you use?
- Image map
- Image grid
- Image link
- Map list
- Hot image
Embedded Webpages
Which HTML tag is used to embed a nested webpage within another page? For example, displaying a webpage inside a box on another page.
- u003Ciframeu003E
- u003Cnestu003E
- u003Cinsertu003E
- u003Cincludeu003E
- u003Cemframeu003E
Text Color and Bullets
On a web page, how can you change the color of list bullets? For example, making the bullet point appear red.
- Change the color of the first text in the list item
- Use the u003Cbulletu003E tag
- Apply background-color to the u003Culu003E tag
- Change the font size of the list
- Bullets cannot be colored
Scrolling Text
What is the purpose of the HTML u003Cmarqueeu003E tag, for example, when you see text moving across the screen?
- To create scrolling (moving) text or images
- To make text bold
- To highlight hyperlinks
- To attach sound to text
- To create a table
HTML Declarations
Is u003C!DOCTYPE htmlu003E considered an HTML tag? For example, it appears at the very top of an HTML file.
- No, it is a declaration and not an HTML tag
- Yes, it is an HTML tag
- Yes, it is a comment tag
- No, it is part of the body
- Yes, but only in older HTML
SVG in HTML
What is SVG used for in HTML? For example, creating a pie chart graphic directly in code.
- Describing two-dimensional vector graphics
- Displaying video files
- Creating hyperlinks
- Styling web pages with CSS
- Inserting JavaScript code