1.
What does the HTML stand for?
Correct Answer
B. Hyper Text Markup Language
Explanation
HTML stands for Hyper Text Markup Language. It is a standard markup language used for creating and structuring web pages. It is the language that is used to create the basic structure and content of a webpage, including text, images, links, and other elements. HTML uses tags to define different elements and their properties, allowing web browsers to interpret and display the content correctly.
2.
Who is making the Web standards?
Correct Answer
D. The World Wide Web Consortium
Explanation
The World Wide Web Consortium (W3C) is responsible for making the Web standards. W3C is an international community that develops open standards to ensure the long-term growth of the Web. It consists of various organizations, including technology companies, research institutions, and individual experts, who collaborate to create and maintain standards for HTML, CSS, JavaScript, and other web technologies. The involvement of multiple stakeholders ensures that the standards are comprehensive, inclusive, and widely accepted, leading to a more consistent and interoperable web experience for users across different platforms and devices.
3.
Choose the correct HTML element for the largest heading:
Correct Answer
C. H1
Explanation
The correct HTML element for the largest heading is h1. In HTML, the heading elements (h1-h6) are used to define headings of different sizes, with h1 being the largest and h6 being the smallest. Therefore, h1 is the correct choice for the largest heading.
4.
What is the correct HTML element for inserting a line break?
Correct Answer
B. Br
Explanation
The correct HTML element for inserting a line break is the "br" element. This element is a self-closing tag and does not require a closing tag. It is used to create a line break or a new line within a paragraph or block of text. Using the "br" element allows for better formatting and readability of the content on a webpage.
5.
What is the correct HTML for adding a background color?
Correct Answer
C. '
Explanation
The correct HTML for adding a background color is using the "style" attribute within the opening tag of the element we want to add the background color to. For example, to add a yellow background color, we would use 'style="background-color: yellow;"'.
6.
Choose the correct HTML element to define important text
Correct Answer
A. Strong
Explanation
The correct HTML element to define important text is the "strong" element. This element is used to indicate that the enclosed text should be given strong importance, typically displayed in bold. It is commonly used to highlight keywords, headings, or important information within a paragraph.
7.
Choose the correct HTML element to define emphasized text
Correct Answer
B. Em
Explanation
The "em" element is the correct HTML element to define emphasized text. It is used to indicate stress or emphasis on a certain part of the text. The "em" element is typically displayed in italics by default, but its purpose is to convey emphasis rather than to control the styling.
8.
Which character is used to indicate an end tag?
Correct Answer
C. /
Explanation
The character "/" is used to indicate an end tag in HTML and XML. In these markup languages, tags are used to define the structure and formatting of a document. An end tag is used to mark the closing of an element or a tag. It is placed after the content within the opening tag to indicate where it ends. Therefore, the correct answer is "/".
9.
How can you open a link in a new tab/browser window?
Correct Answer
B. '
10.
Which of these elements are related to table?
Correct Answer
B. ' '' ''
11.
How can you make a numbered list?
Correct Answer
D. Ol
Explanation
To make a numbered list, you can use the "ol" tag in HTML. The "ol" stands for ordered list, and it automatically numbers the list items. This is different from an unordered list, which uses the "ul" tag. The "dl" tag is used for creating a description list, not a numbered list. Therefore, the correct answer is "ol".
12.
How can you make a bulleted list?
Correct Answer
A. Ul
Explanation
To make a bulleted list, the "ul" tag is used in HTML. This tag stands for "unordered list" and is used to create a list of items without any particular order or hierarchy. By using the "ul" tag, each item in the list will be preceded by a bullet point, indicating that it is a separate item in the list.
13.
What is the correct HTML for making a text input field?
Correct Answer
B.
Explanation
The correct HTML for making a text input field is to use the element with the type attribute set to "text". This can be written as . This will create a text input field where users can enter text or data.
14.
What is the correct HTML for making a drop-down list?
Correct Answer
D. Select
Explanation
The correct HTML for making a drop-down list is by using the 'select' element. This element is used to create a drop-down list of options for the user to choose from.
15.
What is the correct HTML for making a text area?
Correct Answer
A. '
Explanation
The correct HTML for making a text area is . This element is used to create a multi-line input field where users can enter text.
16.
What is the correct HTML for inserting an image?
Correct Answer
C. '
Explanation
The correct HTML for inserting an image is ''. This HTML tag is used to embed an image into a webpage. The 'src' attribute specifies the source file of the image, in this case, "image.gif".
17.
What is the correct HTML for inserting a background image?
Correct Answer
A. '
Explanation
The correct HTML for inserting a background image is by using the "style" attribute within the "body" tag, and setting the "background-image" property to the path of the image file. For example: .
18.
HTML is what type of language ?
Correct Answer
B. Markup Language
Explanation
HTML stands for HyperText Markup Language. It is a markup language used for creating the structure and presentation of web pages. Unlike programming languages, HTML is not used to create complex algorithms or perform calculations. Instead, it is used to define the structure and layout of web content, such as headings, paragraphs, links, images, and tables. Therefore, the correct answer is Markup Language.
19.
HTML web pages can be read and rendered by _________.
Correct Answer
C. Web Browser
Explanation
HTML web pages can be read and rendered by web browsers. Web browsers are software applications that allow users to access and view web pages. They interpret the HTML code and display the content of the web page, including text, images, and multimedia elements. Web browsers also handle other web technologies such as CSS and JavaScript, enabling them to provide a rich and interactive browsing experience.
20.
Tags and test that are not directly displayed on the page are written in _____ section.
Correct Answer
A. Head
Explanation
The "head" section is where meta information and other non-displayed elements of a webpage are typically placed. This includes the title of the page, which appears in the browser tab or window, as well as any linked stylesheets or scripts. The "body" section contains the visible content of the webpage, while the "html" section encompasses the entire HTML document.
21.
How can you create an e-mail link?
Correct Answer
D. '
Explanation
To create an email link, you need to use the HTML anchor tag and specify the "mailto" attribute followed by the email address you want to link. In this case, the correct answer is 'a@b'.
22.
What is the correct HTML for creating a hyperlink?
Correct Answer
C. ''example''
Explanation
The correct HTML for creating a hyperlink is using the tag with the href attribute. The href attribute specifies the URL of the page the link goes to. In this case, the correct answer is 'example', as it represents the URL or destination of the hyperlink.
23.
What is the preferred way for adding a background color in HTML?
Correct Answer
C. '
Explanation
The preferred way for adding a background color in HTML is by using CSS.
24.
How do I add scrolling text to my page?
Correct Answer
B. Marquee
Explanation
To add scrolling text to a webpage, the "marquee" tag can be used. This HTML tag creates a scrolling effect for text or images within it. By enclosing the desired content within the "marquee" tags, the text will automatically scroll horizontally across the page. This is a simple and effective way to add dynamic movement to a webpage and draw attention to important information or announcements.
25.
What is a web worker?
Correct Answer
B. It is a JavaScript running in the background without affecting the performance of the page
Explanation
A web worker is a JavaScript running in the background without affecting the performance of the page. Web workers are used to execute scripts in parallel to the main browser thread, allowing tasks to be performed without blocking the user interface. This helps in improving the performance of the page by offloading heavy computations to a separate thread, making the page more responsive to user interactions.
26.
A simple text file which tells the browser what to cache is known as a ________.
Correct Answer
C. A manifest file
Explanation
A manifest file is a simple text file that tells the browser what to cache. It lists all the files that should be cached by the browser, allowing the website to be accessed offline. By specifying which files should be stored in the cache, the manifest file helps improve the performance and user experience of the website.
27.
Which attribute is used to start a video automatically?
Correct Answer
D. autoplay
Explanation
The attribute used to start a video automatically is "autoplay".
28.
What is the inline style used for?
Correct Answer
B. To applying a unique style to a single HTML element
Explanation
The correct answer is "To applying a unique style to a single HTML element". Inline styles are used to apply specific styles to individual HTML elements. This allows for customization and unique styling for each element, rather than applying a common style to all elements or all pages.
29.
What are the two method attributes that are used while submitting the forms
Correct Answer
D. Both A & B
Explanation
The two method attributes that are used while submitting forms are GET and POST. The GET method is used to request data from a specified resource, while the POST method is used to submit data to be processed to a specified resource. Both A & B are correct because both GET and POST are commonly used methods for submitting forms.
30.
Which of the following statements is true about a URL?
Correct Answer
D. All of the above
Explanation
All of the given statements are true about a URL. A URL is used to address a document on the web, it is known as a Uniform Resource Locator, and web pages from web servers are requested by the URL.
31.
What are the three ways by which styling can be added to the HTML elements?
Correct Answer
C. Inline, Internal, External
Explanation
Styling can be added to HTML elements in three ways: inline, internal, and external. Inline styling is applied directly to the element using the style attribute. Internal styling is defined within the HTML document using the tag in the section. External styling is achieved by linking an external CSS file to the HTML document using the tag.
32.
Which HTML element defines the title of a work and is usually displayed in italics?
Correct Answer
C. '
Explanation
The correct answer is . This element is used to define the title of a webpage, which is displayed in the browser's title bar or tab. It is typically displayed in italics to differentiate it from the rest of the content on the page.
33.
What can be used to change the default style of an HTML element?
Correct Answer
B. Style attribute
Explanation
The style attribute can be used to change the default style of an HTML element. This attribute allows you to specify CSS properties and values directly within the HTML tag, overriding any default styles that may be applied. By using the style attribute, you can customize the appearance of individual elements without having to modify a separate CSS file or apply inline styles.
34.
If you want to change the text colour to red which of the following tags will you use?
Correct Answer
A. < body text = red>
Explanation
The correct answer is "< body text = red>". This is because the "text" attribute is used to specify the color of the text in the body of an HTML document. The other options are incorrect because "bgcolour" is not a valid attribute for the body tag, "colour" is not a valid attribute at all, and "None of the above" is not a valid HTML tag.
35.
To create a checkbox for a form which tag is used?
Correct Answer
A. < input type = “checkbox”>
Explanation
The correct answer is . This is because the tag is used to create form elements, and the "type" attribute is set to "checkbox" to create a checkbox input.
36.
Which of the following is a declaration for an HTML document?
Correct Answer
A. '
Explanation
The given answer '' is correct because it is the declaration for an HTML document. It is used to inform the web browser about the version of HTML being used in the document. This declaration is placed at the very beginning of an HTML document and helps the browser to interpret and display the content correctly.
37.
To create html page ,you need
Correct Answer
C. Both a and b
Explanation
To create an HTML page, you need both a web browser and a text editor. A web browser is necessary to view and test the HTML page, while a text editor is required to write and edit the HTML code. Without a web browser, you won't be able to see how the HTML page looks and functions, and without a text editor, you won't be able to write or modify the HTML code. Therefore, both a web browser and a text editor are essential for creating an HTML page.
38.
What does '' tag add to your page
Correct Answer
C. Line break
Explanation
The "br" tag in HTML adds a line break to the page. It is used to create a new line without starting a new paragraph. This tag is commonly used to separate lines of text or create spacing between elements on a webpage. It is not used for long breaks or paragraph breaks, which are achieved using other HTML tags.
39.
Adding a border to your image helps visitor to recognise it as?
Correct Answer
B. A link
Explanation
Adding a border to an image helps visitors to recognize it as a link. Borders are commonly used to indicate clickable elements on a webpage, and by adding a border to an image, it visually suggests that the image can be clicked or leads to another page or action. This helps users to understand that the image is not just a static picture but has interactive functionality associated with it.