HTML API Test Quiz

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 Gregorynaomi
G
Gregorynaomi
Community Contributor
Quizzes Created: 1462 | Total Attempts: 827,856
Questions: 10 | Attempts: 372

SettingsSettingsSettings
HTML API Test Quiz - Quiz

As a popular web technology, HTML is effective in building web packages and applications. This is made possible using good application programming interfaces. These interfaces are in form of protocols and subroutine information. They are used in designing application software in HTML. Test your knowledge about it in this quiz.


Questions and Answers
  • 1. 

    Which of these is a HTML API? 

    • A.

    • B.

    • C.

    • D.

    Correct Answer
    A.
    Explanation
    The correct answer is "Canvas API". The Canvas API is a powerful HTML5 element that allows for dynamic, scriptable rendering of 2D shapes and bitmap images. It provides a way to draw graphics on a web page using JavaScript, allowing developers to create interactive and animated content. With the Canvas API, developers can create games, data visualizations, and other rich media experiences directly within the browser.

    Rate this question:

  • 2. 

    Which of these is used to create custom HTML tags? 

    • A.

    • B.

    • C.

      Web components 

    • D.

    Correct Answer
    C. Web components 
    Explanation
    Web components are used to create custom HTML tags. They are a set of web platform APIs that allow developers to create reusable custom elements with their own functionality and styling. These custom elements can then be used in HTML documents like any other built-in HTML tags. Web components consist of three main technologies: Custom Elements, Shadow DOM, and HTML Templates. Custom Elements allow developers to define their own custom tags, while Shadow DOM provides encapsulation for the custom element's styles and markup. HTML Templates allow developers to define the structure and content of the custom element. Overall, web components provide a powerful way to extend the capabilities of HTML and create modular, reusable components.

    Rate this question:

  • 3. 

    Which of these is not a feature of CSS? 

    • A.

      Selector 

    • B.

      Properties 

    • C.

      Values 

    • D.

      Media factors 

    Correct Answer
    D. Media factors 
    Explanation
    Media factors are not a feature of CSS. CSS (Cascading Style Sheets) is a styling language used to describe the look and formatting of a document written in HTML. Selectors are used to target specific elements on a webpage, properties define the visual attributes of those elements, and values determine the specific settings for those properties. Media factors, on the other hand, are not a part of CSS. They refer to the conditions under which a media query is applied, such as screen size or device orientation, and are used to create responsive designs.

    Rate this question:

  • 4. 

    What is used to change the appearance of graphical links in HTML? 

    • A.

      Rollovers 

    • B.

      Superscripts

    • C.

      Subscripts 

    • D.

      Drop caps 

    Correct Answer
    A. Rollovers 
    Explanation
    Rollovers are used to change the appearance of graphical links in HTML. When a user hovers over or clicks on a graphical link, the rollover effect can be applied to visually indicate that the link is interactive. This can include changing the color, size, or style of the link, adding animations or transitions, or displaying additional information. Rollovers are commonly used to enhance the user experience and provide visual feedback when interacting with links on a website.

    Rate this question:

  • 5. 

    Which of these is a traditional print effect? 

    • A.

      Rollovers 

    • B.

      Drop caps 

    • C.

      Pull Quotes 

    • D.

      Underline 

    Correct Answer
    C. Pull Quotes 
    Explanation
    A pull quote is a traditional print effect where a quote or excerpt from the main text is pulled out and highlighted in a larger font or different style to attract attention and provide emphasis. This technique is commonly used in newspapers, magazines, and other print publications to break up the text and make important information stand out. Rollovers, drop caps, and underlines are not traditional print effects, but rather digital or typographical elements used in web design or formatting text.

    Rate this question:

  • 6. 

    Which of these is for tab-like navigation? 

    • A.

      CSS tabs 

    • B.

      CSS drop downs 

    • C.

      CSS Show 

    • D.

      CSS title 

    Correct Answer
    A. CSS tabs 
    Explanation
    CSS tabs are used for tab-like navigation. They allow users to navigate between different sections or pages of a website by clicking on different tabs. Each tab represents a different section or page and when clicked, it displays the corresponding content. CSS tabs are commonly used in website navigation menus to provide a visually appealing and user-friendly way to navigate through the website.

    Rate this question:

  • 7. 

    Which of these is an alternative to vertical align property? 

    • A.

      Superscript 

    • B.

      Horizontal 

    • C.

      Rollover 

    • D.

      Forms 

    Correct Answer
    A. Superscript 
    Explanation
    The alternative to the vertical align property is the superscript. Superscript is a typographic technique where text is raised above the baseline, typically used for mathematical or scientific notation, footnotes, or ordinal indicators. It is commonly seen in equations, chemical formulas, or in citations. Unlike the vertical align property, which adjusts the vertical alignment of an element within its container, superscript specifically raises the text above the baseline.

    Rate this question:

  • 8. 

    Which of these is a not function of CSS in HTML? 

    • A.

      Embedded fonts 

    • B.

      Page breaking 

    • C.

      Transitions 

    • D.

      Media queries 

    Correct Answer
    B. Page breaking 
    Explanation
    Page breaking is not a function of CSS in HTML. CSS is primarily used for styling and formatting web pages, including the layout, colors, fonts, and positioning of elements. However, page breaking refers to the control of where a page ends and a new one begins when printing or displaying content. This functionality is typically handled by other technologies such as print-specific CSS or JavaScript.

    Rate this question:

  • 9. 

    What is the process of adding multimedia files in HTML called? 

    • A.

      HTML tables 

    • B.

      Embedding 

    • C.

      HTML forms 

    • D.

      Webbing 

    Correct Answer
    B. Embedding 
    Explanation
    The process of adding multimedia files in HTML is called embedding. This involves using HTML code to insert audio, video, or other multimedia elements into a webpage. Embedding allows these files to be displayed and played directly within the webpage, enhancing the user experience and providing interactive content.

    Rate this question:

  • 10. 

    Which of these is unrelated to HTML? 

    • A.

      HTML API 

    • B.

      HTML elements 

    • C.

      HTML tags 

    • D.

      HTML brackets 

    Correct Answer
    D. HTML brackets 
    Explanation
    HTML brackets are not unrelated to HTML as they are an essential part of HTML tags. HTML brackets, also known as angle brackets or angle brackets, are used to enclose HTML tags and indicate the beginning and end of an HTML element. They are crucial for defining the structure and formatting of a webpage in HTML. Therefore, HTML brackets are directly related to HTML.

    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
  • Mar 21, 2023
    Quiz Edited by
    ProProfs Editorial Team
  • Apr 10, 2019
    Quiz Created by
    Gregorynaomi
Back to Top Back to top
Advertisement
×

Wait!
Here's an interesting quiz for you.

We have other quizzes matching your interest.