HTML Coding Quiz #2

Reviewed by Editorial Team
The ProProfs editorial team is comprised of experienced subject matter experts. They've collectively created over 10,000 quizzes and lessons, serving over 100 million users. Our team includes in-house content moderators and subject matter experts, as well as a global network of rigorously trained contributors. All adhere to our comprehensive editorial guidelines, ensuring the delivery of high-quality content.
Learn about Our Editorial Process
| By Bcahrens
B
Bcahrens
Community Contributor
Quizzes Created: 4 | Total Attempts: 10,339
| Attempts: 139 | Questions: 7
Please wait...
Question 1 / 7
0 %
0/100
Score 0/100
1. How do I make an image appear above my text?

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.

Submit
Please wait...
About This Quiz
HTML Coding Quiz #2 - Quiz


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

2. What is the HTML tag for a ordered list?

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
      .
Submit
3. What are the tags used for an unordered list?

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.
Submit
4. What are the two graphic formats you will use most often on World Wide Web?

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.

Submit
5. What are the different tags used for different styles of text?

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.

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

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.

Submit
7. What is the code used to include an image?

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.

Submit
View My Results

Quiz Review Timeline (Updated): Feb 13, 2024 +

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
Cancel
  • All
    All (7)
  • Unanswered
    Unanswered ()
  • Answered
    Answered ()
How do I make an image appear above my text?
What is the HTML tag for a ordered list?
What are the tags used for an unordered list?
What are the two graphic formats you will use most often on World Wide...
What are the different tags used for different styles of text?
What are some key points to consider when including graphics in ...
What is the code used to include an image?
Alert!

Advertisement