If you’re a Class XI student studying IT, there are articles that provide a complete Class XI IT exercise question answer on this topic. So, if you want to dive deeper into web designing, learning HTML is a great start! HTML, or HyperText Markup Language, is the standard language used to create and design websites. Think of it as the building blocks of the web. With HTML, you can add text, images, links, and other elements to a webpage. It uses “tags” to show the browser how to display content. For instance, to make text bold, we wrap it in the “<strong>” tag.
Table of Contents
Class XI IT Exercise Question Answer
- What are the prerequisites to learn the basics of HTML? Answer: To learn the basics of HTML, you don’t need any specific prior knowledge. Just a computer, a text editor, and an internet browser are sufficient. Familiarity with how to use a computer and browse the web can help.
- How do you define a HTML file? Answer: An HTML file is defined by saving text with the “.html” or “.htm” extension. The content inside follows the HTML syntax, starting with
<!DOCTYPE html>
and having<html>
,<head>
, and<body>
elements. - What is the tag for making a comment? Answer: The tag for making a comment in HTML is
<!-- Your comment here -->
. - What does
<cite>
and<pre>
tag mean? Answer: The<cite>
tag is used to reference the title of a creative work. The<pre>
tag displays preformatted text, maintaining spaces and line breaks. - What is the syntax to define background color in HTML? Answer: The syntax is:
<body style="background-color:colorname;">
. - Explain the procedure to view source code in Mozilla Firefox, Google Chrome & Internet Explorer? Answer:
- Mozilla Firefox: Right-click on a webpage > select “View Page Source”.
- Google Chrome: Right-click on a webpage > select “Inspect” > click on “Elements”.
- Internet Explorer: Right-click on a webpage > select “View Source”.
- List out any three popular web browsers? Answer: Three popular web browsers are Google Chrome, Mozilla Firefox, and Microsoft Edge.
- What do you mean by an anchor tag? Answer: An anchor tag (
<a>
) in HTML is used to create hyperlinks, allowing users to navigate from one page to another or to a specific section within a page. - How do you insert an image and create a table in the HTML page? Answer:
- Image:
<img src="path-to-image.jpg" alt="Description">
- Table: Use <table> <tr> <td>Row1, Cell1</td> <td>Row1, Cell2</td> </tr> </table>
- Image:
- What is the tag to insert a single line break? Answer: The tag to insert a single line break in HTML is
<br>
. - What does W3C stand for? Answer: W3C stands for World Wide Web Consortium.
Fill in the blanks:
(a) Word processors like …………….. should be avoided.
(b) The …………….. tells the web browser how to display the page
(c) …………….. is the tag used for defining the Sample computer code
(d) Acronym for HTTP …………….
(e) Acronym for HTML …………….
Answer:
(a) Word processors like Microsoft Word should be avoided.
(b) The DOCTYPE tells the web browser how to display the page.
(c) <code> is the tag used for defining the Sample computer code.
(d) Acronym for HTTP is HyperText Transfer Protocol.
(e) Acronym for HTML is HyperText Markup Language.
Basics About CSS, Class XI IT Exercise Question Answer