HTML Coding Quiz #2

Approved & Edited by ProProfs Editorial Team
The editorial team at ProProfs Quizzes consists of a select group of subject experts, trivia writers, and quiz masters who have authored over 10,000 quizzes taken by more than 100 million users. This team includes our in-house seasoned quiz moderators and subject matter experts. Our editorial experts, spread across the world, are rigorously trained using our comprehensive guidelines to ensure that you receive the highest quality quizzes.
Learn about Our Editorial Process
| By Bcahrens
B
Bcahrens
Community Contributor
Quizzes Created: 4 | Total Attempts: 9,525
Questions: 7 | Attempts: 123

SettingsSettingsSettings
HTML Coding Quiz #2 - Quiz


Style, lists, and graphics all in HTML! What fun!


Questions and Answers
  • 1. 

    What are the different tags used for different styles of text?

    • A.

      ,

    • B.

      , ,

    • C.

      , ],

    • D.

      None of these

    Correct Answer
    C. , ],
    Explanation
    The correct answer is <b>, <i>. These tags are used to apply different styles to text. The <b> tag is used to make text bold, while the <i> tag is used to make text italic.

    Rate this question:

  • 2. 

    What are the tags used for an unordered list?

    • A.

      }

    • B.

      ,

    • C.

      Neither of these

    • D.

      Either of these

    Correct Answer
    A. }
    Explanation
    The correct answer is "}". In HTML, the tags used for an unordered list are (opening tag) and (closing tag). The answer "}" is incorrect because it is not a valid HTML tag for an unordered list.

    Rate this question:

  • 3. 

    What is the HTML tag for a ordered list?

    • A.

      ,

    • B.

      ,

    • C.

      Neither of these

    • D.

      Either of these

    Correct Answer
    B. ,
    Explanation
    The HTML tag for an ordered list is the tag. This tag is used to create a numbered list of items. The tag is used for an unordered list, which creates a bullet point list. The tag is used to define each item in the list, whether it is ordered or unordered. Therefore, the correct answer is .

    Rate this question:

  • 4. 

    What are the two graphic formats you will use most often on World Wide Web?

    • A.

      .bmp, gif

    • B.

      .bmp, .jpg

    • C.

      .tiff, .giff

    • D.

      .giff, .jpg

    Correct Answer
    D. .giff, .jpg
    Explanation
    The two graphic formats that are commonly used on the World Wide Web are .gif and .jpg. These formats are widely supported by web browsers and offer good compression without significant loss of image quality. .gif is commonly used for simple graphics and animations, while .jpg is preferred for photographs and complex images due to its ability to compress files without noticeable loss in quality.

    Rate this question:

  • 5. 

    What are some key points to consider when including graphics in web pages?

    • A.

      Not everyone's browsers will open images

    • B.

      The bigger the image, the longer it take to load

    • C.

      Don't make the image bigger than your page

    • D.

      A and B

    • E.

      B and C

    Correct Answer
    E. B and C
    Explanation
    When including graphics in web pages, it is important to consider that not everyone's browsers will open images. This means that alternative text or descriptions should be provided for the images to ensure accessibility. Additionally, the size of the image should be taken into account as larger images take longer to load, potentially leading to a poor user experience. It is also recommended to avoid making the image bigger than the page itself to maintain a visually appealing layout. Therefore, the key points to consider when including graphics in web pages are B and C.

    Rate this question:

  • 6. 

    What is the code used to include an image?

    • A.

      "file name.jpg"

    • B.

    • C.

    • D.

      Both A and C

    • E.

      None of the above

    Correct Answer(s)
    B.
    D. Both A and C
    Explanation
    The correct answer is "Both A and C" because to include an image in HTML, you can use either the tag with the "src" attribute specifying the file name, or you can use CSS to set the background image of an element with the "background-image" property and the file name as the value. Both options allow you to include an image in your HTML code.

    Rate this question:

  • 7. 

    How do I make an image appear above my text?

    • A.

      Align=middle

    • B.

    • C.

      Align=top

    • D.

      Align=bottom

    Correct Answer
    C. Align=top
    Explanation
    The correct answer is "align=top". This attribute is used in HTML to align the content of an element to the top of its container. In this case, by using "align=top" on the image, it will appear above the text.

    Rate this question:

Quiz Review Timeline +

Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.

  • Current Version
  • Feb 13, 2024
    Quiz Edited by
    ProProfs Editorial Team
  • Nov 10, 2008
    Quiz Created by
    Bcahrens
Back to Top Back to top
Advertisement
×

Wait!
Here's an interesting quiz for you.

We have other quizzes matching your interest.