1. What does HTML stand for?
HTML stands for HyperText Markup Language.
2. What is HTML?
It is the standard language used for creating web pages and plays a crucial role in web development by defining the structure and content of a webpage.
3. What are HTML tags?
We use HTML tags to place the elements in the proper and appropriate format.
4. What are HTML Attributes?
Attributes are the properties that can be added to an HTML tag. These attributes change the way the tag behaves or is displayed.
5. Differentiate between HTML and XHTML?
HTML is a markup language used for structuring web content, while XHTML is a stricter version of HTML that adheres to XML syntax rules.
6. How do you add comments in an HTML document?
Comments in HTML are added using the syntax.
7. What is the purpose of adding comments in an HTML document?
Comments are used to add notes or explanations that are not displayed on the rendered webpage.
8. In how many ways can we specify the CSS styles for the HTML element?
Inline, Internal and External.
9. What is an element in HTML?
An element in HTML is a set of tags that define a specific part of a web page. It consists of a start tag, content, and an end tag.
10. What are void elements in HTML?
HTML elements which do not have closing tags or do not need to be closed are Void elements. For Example br, img, hr, etc.
11. Explain the purpose of DOCTYPE in HTML?
The DOCTYPE declaration in HTML is used to specify the version of HTML being used in a document, which helps the browser to understand and render the content correctly.
12. How to specify the metadata in HTML5?
The meta tag is a self-closing tag in HTML, meaning it does not require a closing tag.
13. What is metadata ?
It is used to specify metadata or additional information about the HTML document.
14. What is the basic structure of HTML document?
It typically includes a head section for metadata and a body section for the visible content.
15. What is the purpose of the head tag in HTML?
The head tag is used to define the metadata of an HTML document, such as the document’s title, character encoding, linked stylesheets, and JavaScript files.
16. Explain the significance of the title tag in HTML?
The title tag is used to specify the title of an HTML document, which appears as the title of the browser window or tab when the page is opened.
17. What is the class attribute in HTML?
The class attribute is used to specify the class name for an HTML element. Multiple elements in HTML can have the same class value.
18. Define multipart form data?
Multipart form data is one of the values of the enctype attribute. It is used to send the file data to the server-side for processing.
19. What is a marquee in HTML?
Marquee is used for scrolling text on a web page. It automatically scrolls the image or text up, down, left, or right.
20. What is div tag in HTML?
The div tag is a block-level element used for grouping and styling larger sections of content.
21. What is span tag in HTML?
The span tag is an inline element used for styling smaller sections or individual elements.
22. How can we club two or more rows or columns into a single row or column in an HTML table?
HTML provides two table attributes rowspan and colspan to make a cell span to multiple rows and columns respectively.
23. What is cell padding?
Cell Padding is the space or gap between the text/ content of the cell and the edge border of the cell.
24. What is cell spacing?
Cell Spacing is the space or gap between two consecutive cells.
25. Is it possible to change an inline element into a block level element?
Yes, it is possible using the display property with its value as block, to change the inline element into a block-level element.
26. What is the purpose of the img tag?
The img tag is used to embed an image in an HTML document.
27. How img tag is used?
It requires the src attribute to specify the image source (URL or file path) and can have additional attributes for alt text, width, height, etc.
28. What is the alt attribute in HTML?
The alt attribute displays text in place of an image whenever the image cannot be loaded due to technical issues.
29. How do you create a hyperlink in HTML?
A hyperlink can be created in HTML using the tag.
30. What are the attributes of anchor tag?
Its href attribute specifies the URL or location to link to, and it can also have attributes like target for specifying the link behavior.
31. Define the list types in HTML.
Ordered list, Unordered list and Definition list.
32. How do you create an ordered list in HTML?
An ordered list in HTML can be created using the ol tag.
33. Explain the concept of nesting tags in HTML?
Nesting tags in HTML means placing one HTML element inside another.
34. How do you create a table in HTML?
A table in HTML can be created using the tag. 35. What are semantic HTML elements? Semantic HTML elements are tags that provide meaning and context to the content they enclose. 36. What are some examples of semantic HTML elements? header for page headers, nav for navigation menus, for sections of content, and Memorize 34 To 36 Memorize 1 To 36 Revise 34 To 36 Revise 1 To 36 37. How do you embed an audio file in HTML? To embed an audio file in HTML, the tag is used. 38. What type of audio files can be played using HTML5? Mp3, WAV, Ogg 39. What is a form in HTML? A form is a set of input fields and other elements to collect user data. Memorize 37 To 39 Memorize 1 To 39 Revise 37 To 39 Revise 1 To 39 40. How do you validate user input in HTML forms? HTML5 introduced form validation attributes like required, pattern, and max length. 41. What is the purpose of the form tag? The form tag is used to create an HTML form that allows users to input data. It includes input fields, buttons, checkboxes, etc. 42. What are the attributes of form tag? The action attribute specifies the URL where the form data is submitted, and the method attribute specifies the HTTP method used for submission (GET or POST). Memorize 40 To 42 Memorize 1 To 42 Revise 40 To 42 Revise 1 To 42 43. What is the purpose of the input tag? The input tag is used to create input fields within HTML forms. 44. How do you create a dropdown menu in HTML? A drop-down menu can be created in HTML using the select tag for the dropdown container and tags for each selectable item within the dropdown. 45. Explain the concept of HTML entities? HTML entities are special characters that are represented by a code or entity name, allowing them to be displayed correctly in HTML. Memorize 43 To 45 Memorize 1 To 45 Revise 43 To 45 Revise 1 To 45 46. What is the purpose of the iframe tag in HTML? The iframe tag is used to embed another HTML document or webpage within the current document. 47. How do you embed a YouTube video in an HTML page? To embed a YouTube video in an HTML page, you can use the YouTube embed code provided by YouTube. 48. What are HTML data attributes? HTML data attributes allow you to store extra information within an HTML element. Memorize 46 To 48 Memorize 1 To 48 Revise 46 To 48 Revise 1 To 48 49. How do you create a navigation bar in HTML? A navigation bar in HTML can be created using the tag to wrap the navigation elements, such as links or a list of navigation items. 50. What is the purpose of the canvas tag in HTML5? The canvas tag in HTML5 provides a drawing surface that allows you to render graphics, animations, or interactive elements using JavaScript. 51. Explain the concept of HTML microdata? HTML microdata is a way to add semantic meaning to HTML elements by including specific attributes that describe the content. Memorize 49 To 51 Memorize 1 To 51 Revise 49 To 51 Revise 1 To 51 52. In how many ways can we specify the CSS styles for the HTML element? CSS styles can be specified in several ways, including inline, internal, and external stylesheets. 53. How do you include external CSS stylesheets in HTML? To include an external CSS stylesheet in HTML, you use the tag within the section of the HTML document. 54. What is the purpose of the pre tag in HTML? The pre tag in HTML is used to define preformatted text. Memorize 52 To 54 Memorize 1 To 54 Revise 52 To 54 Revise 1 To 54 55. Explain the concept of HTML5 web storage? HTML5 web storage provides a way to store data on the client side within the user’s web browser. 56. How do you create a tooltip in HTML? To create a tooltip in HTML, you can use the title attribute on elements like links or other interactive elements. 57. What is the purpose of the The progress tag in HTML5 is used to create a progress bar or indicator to represent the completion status of a task or process. Memorize 55 To 57 Memorize 1 To 57 Revise 55 To 57 Revise 1 To 57 58. Explain the concept of the HTML tab index attribute? The tab index attribute in HTML is used to specify the tabbing order or sequence of focusable elements on a webpage. 59. Define Image Map? Image Map lets a developer map/link different parts of images with the different web pages. 60. How do you create a responsive image gallery in HTML? A responsive image gallery in HTML can be created using a combination of CSS and JavaScript. Memorize 58 To 60 Memorize 1 To 60 Revise 58 To 60 Revise 1 To 60 61. What is the purpose of the video tag in HTML5? The tag in HTML5 is used to embed videos or audio clips within an HTML document. 62. How do you add a background image to an HTML element? To add a background image to an HTML element, you can use CSS by setting the background-image property to the URL of the image file. 63. What is the purpose of the aside tag in HTML5? The aside tag in HTML5 is used to mark content that is tangentially related to the main content of the webpage. Memorize 61 To 63 Memorize 1 To 63 Revise 61 To 63 Revise 1 To 63 64. How do you define a line break in HTML? To define a line break in HTML, you can use the br tag. 65. What is the syntax for creating an unordered list in HTML? The syntax for creating an unordered list in HTML is using the ul tag. 66. How do you define a heading in HTML? HTML provides six levels of headings, ranging from h1 (the highest level) to h6 (the lowest level). Memorize 64 To 66 Memorize 1 To 66 Revise 64 To 66 Revise 1 To 66 67. What is the syntax for including an external CSS file in HTML? To include an external CSS file in HTML, you use the link tag within the section of your HTML document. 68. What is the purpose of the footer tag in HTML5? The footer tag is used to define the footer section of a document or a section. 69. What is the use of figure tag? figure tag is used to primarily group related content, such as an image and its caption or a code block and description. Memorize 67 To 69 Memorize 1 To 69 Revise 67 To 69 Revise 1 To 69 70. What is the purpose of the figcaption tag in HTML5? The figcaption tag is used to provide a caption or description for an HTML element. 71. Explain the concept of HTML validation? HTML validation is the process of checking if HTML code complies with the HTML standards and rules. 72. What is the purpose of the ruby tag in HTML5? The ruby tag is used to annotate or provide pronunciation guidance for characters in East Asian typography, such as ruby text in Japanese or phonetic annotations. Memorize 70 To 72 Memorize 1 To 72 Revise 70 To 72 Revise 1 To 72 73. What is the purpose of the time tag in HTML5? The time tag is used to represent a specific date, time, or duration in a machine-readable format. 74. Explain the concept of HTML5 drag and drop? HTML5 drag and drop is a feature that allows users to interact with web content by dragging elements from one location and dropping them onto another. 75. What is the purpose of the datalist tag in HTML5? The datalist tag is used to provide a predefined list of options for an HTML element. Memorize 73 To 75 Memorize 1 To 75 Revise 73 To 75 Revise 1 To 75 76. What is the purpose of the meter tag in HTML5? The meter tag is used to represent a scalar measurement or a value within a known range. 77. What is the purpose of the progress tag in HTML5? progress tag should be used when we want to show the completion progress of a task. 78. What is the purpose of the output tag in HTML5? The output tag is used to represent the result or output of a calculation or user action. Memorize 76 To 78 Memorize 1 To 78 Revise 76 To 78 Revise 1 To 78 79. What is the purpose of the picture tag in HTML5? The picture tag is used to provide multiple sources or versions of an image and allows the browser to choose the most appropriate one based on the user’s device or screen size. 80. What is the use of source tag? It defines multiple media resources for audio and video. It allows browsers to choose the best-supported format. 81. What is the use of track tag? It adds text tracks (e.g., captions, subtitles, descriptions) to audio or video elements. Memorize 79 To 81 Memorize 1 To 81 Revise 79 To 81 Revise 1 To 81 82. What is the use of track tag? It embeds external content, including multimedia like video or audio, and applications such as PDF viewers. 83. What would happen without text between the HTML tags? There would be nothing to format if there is no text present between the tags. Therefore, nothing will appear on the screen. 84. How do you add buttons in HTML? We can use the built-in Button tag in HTML to add buttons to an HTML web page. Memorize 82 To 84 Memorize 1 To 84 Revise 82 To 84 Revise 1 To 84 85. How do you insert a copyright symbol in HTML? To insert a copyright symbol in HTML, you can use the HTML entity © or the numeric code © 86. What is SVG in HTML? HTML SVG describes vector or raster graphics. 87. Why do we need the MathML element in HTML5? MathML is useful for displaying formulas on technical and mathematical websites. Memorize 85 To 87 Memorize 1 To 87 Revise 85 To 87 Revise 1 To 87 88. What is the usage of a novalidate attribute for the form tag that is introduced in HTML5? The novalidate attribute prohibits forms from running validation logic when they are submitted. It always allows the form submission process to proceed, even if the validation logic yields a different result. 89. What is a manifest file in HTML5? The manifest file is a basic text file that specifies which resources the browser should cache for offline access. List Memory Pages Share Via Whastapp/Facebook Share to Your Friends Share this protal to share friends and complete unlimited tests here. You can also make friends on our protal also start mutual competition tests with your firends easily. Share to Facebook Share to WhatsApp Promote & Earn
35. What are semantic HTML elements?
Semantic HTML elements are tags that provide meaning and context to the content they enclose.
36. What are some examples of semantic HTML elements?
header for page headers, nav for navigation menus, for sections of content, and
37. How do you embed an audio file in HTML?
To embed an audio file in HTML, the tag is used.
38. What type of audio files can be played using HTML5?
Mp3, WAV, Ogg
39. What is a form in HTML?
A form is a set of input fields and other elements to collect user data.
40. How do you validate user input in HTML forms?
HTML5 introduced form validation attributes like required, pattern, and max length.
41. What is the purpose of the form tag?
The form tag is used to create an HTML form that allows users to input data. It includes input fields, buttons, checkboxes, etc.
42. What are the attributes of form tag?
The action attribute specifies the URL where the form data is submitted, and the method attribute specifies the HTTP method used for submission (GET or POST).
43. What is the purpose of the input tag?
The input tag is used to create input fields within HTML forms.
44. How do you create a dropdown menu in HTML?
A drop-down menu can be created in HTML using the select tag for the dropdown container and tags for each selectable item within the dropdown.
45. Explain the concept of HTML entities?
HTML entities are special characters that are represented by a code or entity name, allowing them to be displayed correctly in HTML.
46. What is the purpose of the iframe tag in HTML?
The iframe tag is used to embed another HTML document or webpage within the current document.
47. How do you embed a YouTube video in an HTML page?
To embed a YouTube video in an HTML page, you can use the YouTube embed code provided by YouTube.
48. What are HTML data attributes?
HTML data attributes allow you to store extra information within an HTML element.
49. How do you create a navigation bar in HTML?
A navigation bar in HTML can be created using the tag to wrap the navigation elements, such as links or a list of navigation items.
50. What is the purpose of the canvas tag in HTML5?
The canvas tag in HTML5 provides a drawing surface that allows you to render graphics, animations, or interactive elements using JavaScript.
51. Explain the concept of HTML microdata?
HTML microdata is a way to add semantic meaning to HTML elements by including specific attributes that describe the content.
52. In how many ways can we specify the CSS styles for the HTML element?
CSS styles can be specified in several ways, including inline, internal, and external stylesheets.
53. How do you include external CSS stylesheets in HTML?
To include an external CSS stylesheet in HTML, you use the tag within the section of the HTML document.
54. What is the purpose of the pre tag in HTML?
The pre tag in HTML is used to define preformatted text.
55. Explain the concept of HTML5 web storage?
HTML5 web storage provides a way to store data on the client side within the user’s web browser.
56. How do you create a tooltip in HTML?
To create a tooltip in HTML, you can use the title attribute on elements like links or other interactive elements.
57. What is the purpose of the
The progress tag in HTML5 is used to create a progress bar or indicator to represent the completion status of a task or process.
58. Explain the concept of the HTML tab index attribute?
The tab index attribute in HTML is used to specify the tabbing order or sequence of focusable elements on a webpage.
59. Define Image Map?
Image Map lets a developer map/link different parts of images with the different web pages.
60. How do you create a responsive image gallery in HTML?
A responsive image gallery in HTML can be created using a combination of CSS and JavaScript.
61. What is the purpose of the video tag in HTML5?
The tag in HTML5 is used to embed videos or audio clips within an HTML document.
62. How do you add a background image to an HTML element?
To add a background image to an HTML element, you can use CSS by setting the background-image property to the URL of the image file.
63. What is the purpose of the aside tag in HTML5?
The aside tag in HTML5 is used to mark content that is tangentially related to the main content of the webpage.
64. How do you define a line break in HTML?
To define a line break in HTML, you can use the br tag.
65. What is the syntax for creating an unordered list in HTML?
The syntax for creating an unordered list in HTML is using the ul tag.
66. How do you define a heading in HTML?
HTML provides six levels of headings, ranging from h1 (the highest level) to h6 (the lowest level).
67. What is the syntax for including an external CSS file in HTML?
To include an external CSS file in HTML, you use the link tag within the section of your HTML document.
68. What is the purpose of the footer tag in HTML5?
The footer tag is used to define the footer section of a document or a section.
69. What is the use of figure tag?
figure tag is used to primarily group related content, such as an image and its caption or a code block and description.
70. What is the purpose of the figcaption tag in HTML5?
The figcaption tag is used to provide a caption or description for an HTML element.
71. Explain the concept of HTML validation?
HTML validation is the process of checking if HTML code complies with the HTML standards and rules.
72. What is the purpose of the ruby tag in HTML5?
The ruby tag is used to annotate or provide pronunciation guidance for characters in East Asian typography, such as ruby text in Japanese or phonetic annotations.
73. What is the purpose of the time tag in HTML5?
The time tag is used to represent a specific date, time, or duration in a machine-readable format.
74. Explain the concept of HTML5 drag and drop?
HTML5 drag and drop is a feature that allows users to interact with web content by dragging elements from one location and dropping them onto another.
75. What is the purpose of the datalist tag in HTML5?
The datalist tag is used to provide a predefined list of options for an HTML element.
76. What is the purpose of the meter tag in HTML5?
The meter tag is used to represent a scalar measurement or a value within a known range.
77. What is the purpose of the progress tag in HTML5?
progress tag should be used when we want to show the completion progress of a task.
78. What is the purpose of the output tag in HTML5?
The output tag is used to represent the result or output of a calculation or user action.
79. What is the purpose of the picture tag in HTML5?
The picture tag is used to provide multiple sources or versions of an image and allows the browser to choose the most appropriate one based on the user’s device or screen size.
80. What is the use of source tag?
It defines multiple media resources for audio and video. It allows browsers to choose the best-supported format.
81. What is the use of track tag?
It adds text tracks (e.g., captions, subtitles, descriptions) to audio or video elements.
82. What is the use of track tag?
It embeds external content, including multimedia like video or audio, and applications such as PDF viewers.
83. What would happen without text between the HTML tags?
There would be nothing to format if there is no text present between the tags. Therefore, nothing will appear on the screen.
84. How do you add buttons in HTML?
We can use the built-in Button tag in HTML to add buttons to an HTML web page.
85. How do you insert a copyright symbol in HTML?
To insert a copyright symbol in HTML, you can use the HTML entity © or the numeric code ©
86. What is SVG in HTML?
HTML SVG describes vector or raster graphics.
87. Why do we need the MathML element in HTML5?
MathML is useful for displaying formulas on technical and mathematical websites.
88. What is the usage of a novalidate attribute for the form tag that is introduced in HTML5?
The novalidate attribute prohibits forms from running validation logic when they are submitted. It always allows the form submission process to proceed, even if the validation logic yields a different result.
89. What is a manifest file in HTML5?
The manifest file is a basic text file that specifies which resources the browser should cache for offline access.
Share this protal to share friends and complete unlimited tests here. You can also make friends on our protal also start mutual competition tests with your firends easily.