1.
Which of these is a HTML API?
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.
2.
Which of these is used to create custom HTML tags?
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.
3.
Which of these is not a feature of CSS?
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.
4.
What is used to change the appearance of graphical links in HTML?
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.
5.
Which of these is a traditional print effect?
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.
6.
Which of these is for tab-like navigation?
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.
7.
Which of these is an alternative to vertical align property?
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.
8.
Which of these is a not function of CSS in HTML?
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.
9.
What is the process of adding multimedia files in HTML called?
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.
10.
Which of these is unrelated to HTML?
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.