HTML Basics: Ace That Interview! - Easy Quiz Quiz

  1. 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.

    1. u003Cbru003E
    2. u003Cpu003E
    3. u003Cdivu003E
    4. u003Cspanu003E
    5. u003Ch1u003E
  2. HTML Formatting

    What is meant by formatting in HTML? For example, using tags to make text bold or italic.

    1. Changing how text looks using special tags like u003Cbu003E or u003Ciu003E
    2. Adding links to other websites
    3. Creating a new web page
    4. Adding comments to your code
    5. Saving your file as .html
  3. 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

    1. A tag is part of an element; an element includes the tags and content
    2. Tags are only for headings; elements are for lists
    3. Tags and elements are exactly the same
    4. Tags are used for CSS only; elements are for HTML
    5. Elements cannot contain text
  4. Semantic Elements

    Which of the following is a semantic HTML element? For example, it clearly describes its meaning in the code.

    1. u003Carticleu003E
    2. u003Cspanu003E
    3. u003Cdivu003E
    4. u003Cbu003E
    5. u003Cfontu003E
  5. 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?

    1. Image map
    2. Image grid
    3. Image link
    4. Map list
    5. Hot image
  6. 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.

    1. u003Ciframeu003E
    2. u003Cnestu003E
    3. u003Cinsertu003E
    4. u003Cincludeu003E
    5. u003Cemframeu003E
  7. 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.

    1. Change the color of the first text in the list item
    2. Use the u003Cbulletu003E tag
    3. Apply background-color to the u003Culu003E tag
    4. Change the font size of the list
    5. Bullets cannot be colored
  8. Scrolling Text

    What is the purpose of the HTML u003Cmarqueeu003E tag, for example, when you see text moving across the screen?

    1. To create scrolling (moving) text or images
    2. To make text bold
    3. To highlight hyperlinks
    4. To attach sound to text
    5. To create a table
  9. HTML Declarations

    Is u003C!DOCTYPE htmlu003E considered an HTML tag? For example, it appears at the very top of an HTML file.

    1. No, it is a declaration and not an HTML tag
    2. Yes, it is an HTML tag
    3. Yes, it is a comment tag
    4. No, it is part of the body
    5. Yes, but only in older HTML
  10. SVG in HTML

    What is SVG used for in HTML? For example, creating a pie chart graphic directly in code.

    1. Describing two-dimensional vector graphics
    2. Displaying video files
    3. Creating hyperlinks
    4. Styling web pages with CSS
    5. Inserting JavaScript code