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.
This quiz tests your knowledge on HTML coding for creating a website. The quiz is derived from the HTML cheatsheet on Webmonkey to enable a person to be able to understand the coding used on a web page from the graphics to the font.
Questions and Answers
1.
Emphasizes a word (with italic or bold).
A.
Em>
B.
Strong>
C.
Emfront>
D.
Both A and B
E.
None of the above
Correct Answer
D. Both A and B
Explanation The correct answer is "Both A and B" because both the "em" and "strong" tags can be used to emphasize a word. The "em" tag is used to italicize the text, while the "strong" tag is used to make the text bold. Therefore, both options A and B are correct.
Rate this question:
2.
Which text tag/s create teletype, or typewriter-style text?
Correct Answer
Explanation The "pre" and "tt" tags create teletype or typewriter-style text. These tags are used to preserve the original formatting of text, such as preserving spaces and line breaks. The "pre" tag is used for preformatted text, while the "tt" tag is used for inline typewriter-style text.
Rate this question:
3.
Which body attributes sets the color of links on click?
A.
Body alink="00ff00"
B.
Body vlink="ff0000"
C.
Body link="blue"
D.
None of the above
Correct Answer
A. Body alink="00ff00"
Explanation The correct answer is "body alink='00ff00'". This is because the "alink" attribute is used to set the color of links when they are clicked. In this case, the color is set to the hexadecimal value "00ff00", which represents a shade of green. The other attributes, "vlink" and "link", are used to set the colors of visited links and regular links respectively, but they are not relevant to the color of links on click.
Rate this question:
4.
Which link tag/s create a hyperlink?
Correct Answer
Explanation The tag creates a hyperlink.
Rate this question:
5.
Which formatting tag/s inserts a line break?
Correct Answer
Explanation The tag is used to insert a line break in HTML. It is a self-closing tag, meaning it does not require a closing tag. When the browser encounters the tag, it starts a new line immediately after the tag. This is useful for creating line breaks within paragraphs or for separating different elements on a webpage.
Rate this question:
6.
Which formatting tag/s create a bulleted list?
A.
Li>
B.
Ol>
C.
Ul>
D.
None of the above
Correct Answer
C. Ul>
Explanation The ul tag is used to create an unordered (bulleted) list in HTML. It stands for "unordered list" and is commonly used to display a list of items without any specific order or hierarchy. The li tag is used within the ul tag to define each individual item in the list. The ol tag, on the other hand, is used to create an ordered (numbered) list, and the None of the above option is incorrect as ul is the correct answer.
Rate this question:
7.
Which basic tag/s sets off the title and other information that isn't displayed on the web page itself?
Correct Answer
Explanation The basic tag that sets off the title and other information not displayed on the web page itself is the "head" tag. The head tag is used to define the head section of an HTML document, which contains metadata such as the title, character encoding, and linked stylesheets or scripts. The content within the head tag is not visible on the actual webpage but is important for search engines, browsers, and other applications that process the webpage.
Rate this question:
8.
Which form tag/s sets off each menu item?
A.
Form>
B.
Input type="reset"
C.
Both A and B
D.
None of the above
Correct Answer
D. None of the above
Explanation The correct answer is none of the above. The form tag does not set off each menu item. The form tag is used to create a container for form elements such as input fields, checkboxes, and buttons. It is not specifically related to menu items.
Rate this question:
9.
Which tables tag/s sets off each cell ina row?
Correct Answer
Explanation The correct answer is the "td" tag. The "td" tag is used to define a standard data cell in an HTML table. Each cell in a row is enclosed within the "td" tags, which helps to structure and format the content within the table.
Rate this question:
10.
Which text tag/s create a citation, usually italic?
A.
Cite>
B.
Site>
C.
Pre>
D.
None of the above
Correct Answer
A. Cite>
Explanation The correct answer is "cite>". The "cite>" tag is used to create a citation in HTML. It is usually displayed in italics to differentiate it from the rest of the text. The "site>", "pre>", and "none of the above" tags are not relevant to creating citations.
Rate this question:
11.
Which formatting tag/s adds an image?
Correct Answer
Explanation The formatting tag that adds an image is the "img" tag. This tag is used to insert an image into an HTML document. The "img" tag requires the "src" attribute to specify the image file location and the "alt" attribute to provide an alternative text for the image. Additionally, the "img" tag can also include other attributes such as width, height, and border to further customize the appearance of the image.
Rate this question:
12.
Which text tag/s creates the largest headline?
A.
H6>
B.
H5>
C.
H2>
D.
H1>
Correct Answer
D. H1>
Explanation The tag creates the largest headline. In HTML, heading tags are used to define the importance and hierarchy of the text. The tag is the highest level heading and is typically used for the main title or heading of a webpage. It is designed to be the largest and most prominent heading on the page, making it the correct answer in this case. The , , , , and tags are used for subheadings of decreasing importance and size.
Rate this question:
13.
Which form tag sets off each menu item?
Correct Answer
Explanation The correct answer is the "option" tag.
Rate this question:
14.
Which form tag/s creates a pulldown menu?
A.
Input type="checkbox"
B.
Select multiple name="NAME" size=?>
C.
Select name ="NAME">
D.
None of the above
Correct Answer
C. Select name ="NAME">
Explanation The correct answer is "select name ="NAME">" because the select tag is used to create a pulldown menu in HTML. This tag allows the user to select one option from a list of options. The name attribute is used to identify the pulldown menu, which can then be accessed and processed by server-side scripts.
Rate this question:
15.
Which frame tag/s replaces the <body> tag in a frames document; can also be nested in other framesets?
Correct Answer
Explanation The tag replaces the tag in a frames document and can also be nested in other framesets.
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.