Basic HTML Coding Quiz Exam!

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: 1,792 | Questions: 10
Please wait...
Question 1 / 10
0 %
0/100
Score 0/100
1. What two things do you need to create webpages & view them?

Explanation

To create webpages, you need a text editor to write the HTML, CSS, and JavaScript code that makes up the webpage. A text editor allows you to create and edit the code. Once the webpage is created, you need a web browser to view the webpage. A web browser interprets the code and displays the webpage with all its elements and functionality. Therefore, the correct answer is a text editor and a web browser.

Submit
Please wait...
About This Quiz
Basic HTML Coding Quiz Exam! - Quiz

What do you know about HTML coding? How do HTML Tags and Codes Work? ? Here is the quiz to answer that question! HTML(HyperText Markup Language) helps design... see morea web page that can be accessed in a web browser that includes writing, links, pictures, sound, video, and other objects such as an interactive form. Take this quiz to test knowledge about HTML tags and codes.
see less

2. What are the different levels of headings in HTML?

Explanation

The different levels of headings in HTML are represented by numbers 1, 2, 3, 4, 5, and 6. Heading level 1 is the highest level and represents the main heading of the page, while heading level 6 is the lowest level and represents the least important heading. These heading levels are used to structure and organize the content of the webpage, with higher levels indicating more important and larger headings.

Submit
3. What will be the output of this code? <!--display some text--> <h1>Here is a heading</h1>

Explanation

The code will output "Here is a heading". This is because the code includes a comment which is not displayed on the webpage. The code then includes an h1 element with the text "Here is a heading", which is displayed as a heading on the webpage.

Submit
4. Which character entity would you use to display extra spaces on a webpage?

Explanation

The character entity "& nbsp;" is used to display extra spaces on a webpage.

Submit
5. How do you create a comment tag?

Explanation

To create a comment tag, you use the syntax . Comments are used to add notes or explanations within the code that are not interpreted or displayed by the browser. They are useful for providing information to other developers or for temporarily disabling a section of code without deleting it. In this case, the correct answer is the given syntax because it correctly represents the comment tag in HTML.

Submit
6. You have a situation where you want to accept some input from the user that is usually 1-2 paragraphs long. Which of the following form elements would you choose?

Explanation

The correct answer is textarea. A textarea element is the most suitable form element for accepting input from the user that is usually 1-2 paragraphs long. Unlike a textbox, which is typically used for single-line input, a textarea allows the user to input multiple lines of text. A drop-down list is used for selecting a single option from a list, and a button is used for triggering an action. Therefore, a textarea is the most appropriate choice for this situation.

Submit
7. What are HTML tags?

Explanation

The correct answer is "Both B and C". HTML tags are not alarms at the store, but rather code that is used to structure and format content on a webpage. They tell the web browser how to display the content and help in creating the visual layout of the webpage. So, option B is correct as HTML tags are responsible for how the web browser knows what to display. Option C is also correct as HTML tags are not alarms at the store.

Submit
8. Where is the text of the title tag displayed?

Explanation

The text of the title tag is displayed on the browser page, but not on the web page itself. The title tag is an HTML element that specifies the title of a web page. It is displayed in the title bar of the browser window or in the tab of the browser. However, it is not visible on the actual content of the web page when it is loaded.

Submit
9. If I wanted to make the statement bold and underlined, what coding would be best? I love going to Disneyland.

Explanation

not-available-via-ai

Submit
10. What is the difference between a <[p]> and a <[br]>?

Explanation

The correct answer is that "" creates a blank line before the next row of text. This is because the "" tag is used to insert a line break within a single paragraph, which means it only creates a line break without creating a new paragraph. On the other hand, "" is used to create a new paragraph, which results in a blank line before the next row of text.

Submit
View My Results

Quiz Review Timeline (Updated): Mar 22, 2023 +

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

  • Current Version
  • Mar 22, 2023
    Quiz Edited by
    ProProfs Editorial Team
  • Nov 07, 2008
    Quiz Created by
    Bcahrens
Cancel
  • All
    All (10)
  • Unanswered
    Unanswered ()
  • Answered
    Answered ()
What two things do you need to create webpages & view them?
What are the different levels of headings in HTML?
What will be the output of this code? <!--display some text-->...
Which character entity would you use to display extra spaces on a...
How do you create a comment tag?
You have a situation where you want to accept some input from the user...
What are HTML tags?
Where is the text of the title tag displayed?
If I wanted to make the statement bold and underlined, what coding...
What is the difference between a <[p]> and a <[br]>?
Alert!

Advertisement