Class 9 Exam  >  Class 9 Notes  >  Information & Computer Technology (Class 9) - Notes & Video  >  NCERT Solutions - Introduction to HTML, Information & Computer Technology Class 9

Introduction to HTML, Information & Computer Technology Class 9 NCERT Solutions | Information & Computer Technology (Class 9) - Notes & Video PDF Download

Excercise
A. Name the tag used for:
Q1. Inserting a section break
Answer <br>

Q2. Marking up text to appear bold
Answer 
<b>, </b>

Q3. Marking up text to appear italic
Answer
<i>, </i>

Q4. To change the font size of the entire html document.
Answer
<font size=amount of the number>, </font> Here, amount of the number means any number such as 2,3,4 by which we want to increase font size. We can also use negative number.

Q5. To write a paragraph aligned to the right side of the page.
Answer
<p align=right>, </p>

B. Correct the errors in the following HTML code:
<HTML>
<TITLE> My first program
 <BODY>
<P Align="centre"> This is my first web program </P>
 <HEAD>
 <HTML>
Answer
<HTML>
<HEAD>
<TITLE> My First Program </TITLE>
</HEAD>
<BODY>
<P align="center"> This is my first web program </P>
</BODY>
</HTML>

State True or False:-
Q1. Html is a case sensitive language.
Answer
False

Q2. SGML is an improved version of HTML.
Answer
 False

Q3. A tag is a special word enclosed in angle-brackets < >.
Answer 
True

Q4. HTML is divided into 3 sections head, title and body.
Answer 
True

Q5. VLINK defines the link of active link.
Answer 
False

E. Answer the following questions:
Q1. What is font tag? Name the various attributes of font tag.
Answer
The FONT tag is a container tag that has a number of attributes.
Various attributes of font tag:
FACE: Sets the text to the name of the font used as its value.
SIZE: Decides the scale of the text.
COLOR: Changes the color of the text written inside the container tag.

Q2. Difference between <br> and <hr> tag.
Answer
<br> and <hr> both are empty tag. But <br> tag is used for creating blank line breaks while <hr> tag is used to insert a horizontal rule on the web page.

Q3. Differentiate between LINK, ALINK and VLINK.
Answer
LINK: Defines the color of the link in the document.
ALINK: Defines the color of the active link in the document.
VLINK: Defines the color of the visited link in the document.

Q4. Explain heading tag with the help of a suitable example.
Answer
<H1> This text is in largest font i.e. H1 font </H1>
<H2> This text is in larger font i.e. H2 font </H2>
<H3> This text is in medium large font i.e. H3 font </H3>
<H4> This text is in medium small font i.e. H4 font </H4>
<H5> This text is in smaller font i.e. H5 font </H5>
<H6> This text is in smallest font i.e. H6 font </H6>

The above code produces the following output:
Introduction to HTML, Information & Computer Technology Class 9 NCERT Solutions | Information & Computer Technology (Class 9) - Notes & Video

 


Q5. Difference between container tag and empty tag.
Answer
A container tag has both the start and the end tag. The text or the graphic is inserted inside the beginning and end tag of the container tag. For example: <body>This is a container tag</body>. The <BODY> tag here is a container tag which has both the beginning and the ending tag and the text in between both the tags. whereas

The empty tag is a stand-alone tag. This implies that such a tag has beginning but no ending tag. For example: The <BR> tag is used for adding one line break. Such a tag does not need an end so as to tell the browser, that end of line break has come because there is no need. Such a tag is called empty tag.

Q6. Write down the basic structure of HTML document.
Answer
<HTML>
<HEAD>
<TITLE> The Structure of HTML Document
</TITLE>
</HEAD>
<BODY>
 The Body of the HTML Document
</BODY>
</HTML>

Q7. How do you create a comment tag?
Answer
In HTML Cooment tag is written as : <!--, followed by description or remark on a command, followed by -->. For example: <!-- Hello -->.

Q8. Name and explain any 2 attributes of body tag.
Answer
1. BGCOLOR: The background of the webpage is displayed with a color that has been taken as value by this attribute.
2. BACKGROUND: The background of the webpage is displayed with an image whose address is taken as value by this attribute.

Q9. Name the tools required to create a html document.
Answer
The tools required to create a html document are:
1. A text editor/HTML editor
2. A Web Browser

Q10. Write a short note on HTML.
Answer
HTML refers to Hypertext Markup Language. It was founded in November 1990 by a scientist called Tim Berneses-Lee. The purpose was to make it easier for scientists at different university to gain access to each other’s research documents.HTML is not an invention but an improved version of Standard Generalised Markup  Language(SGML). HTML comparise of tags and attributes to show data in browser.

The document Introduction to HTML, Information & Computer Technology Class 9 NCERT Solutions | Information & Computer Technology (Class 9) - Notes & Video is a part of the Class 9 Course Information & Computer Technology (Class 9) - Notes & Video.
All you need of Class 9 at this link: Class 9
15 videos|19 docs|6 tests

Top Courses for Class 9

FAQs on Introduction to HTML, Information & Computer Technology Class 9 NCERT Solutions - Information & Computer Technology (Class 9) - Notes & Video

1. What is HTML?
Ans. HTML stands for HyperText Markup Language. It is the standard markup language used for creating web pages and web applications. HTML uses various tags and attributes to structure the content and define its presentation on the internet.
2. How can I create a web page using HTML?
Ans. To create a web page using HTML, you need to follow these steps: 1. Open a text editor like Notepad or a specialized HTML editor. 2. Start with the HTML opening tag (<html>) to indicate the beginning of an HTML document. 3. Within the HTML tags, include the head section (<head>) to specify meta-information about the webpage. 4. Inside the head section, add a title tag (<title>) to define the title of the webpage. 5. After the head section, include the body section (<body>) to define the visible content of the webpage. 6. Within the body tags, use various HTML tags like headings, paragraphs, images, links, etc., to structure and format the content. 7. Save the file with a .html extension. 8. Open the saved HTML file in a web browser to view the webpage.
3. What are the basic tags in HTML?
Ans. Some of the basic tags in HTML are: 1. <html>: Indicates the beginning and end of an HTML document. 2. <head>: Contains meta-information about the webpage, such as the title, stylesheets, scripts, etc. 3. <title>: Defines the title of the webpage, which appears in the browser's title bar or tab. 4. <body>: Contains the visible content of the webpage. 5. <h1> to <h6>: Defines headings of different levels, with <h1> being the highest and <h6> being the lowest. 6. <p>: Represents a paragraph of text. 7. <img>: Inserts an image into the webpage. 8. <a>: Creates a hyperlink to another webpage or a specific section within the same webpage. 9. <ul>: Represents an unordered list. 10. <li>: Represents a list item within an unordered or ordered list.
4. What is the role of CSS in HTML?
Ans. CSS stands for Cascading Style Sheets. It is a stylesheet language used to describe the presentation of a document written in HTML. CSS allows you to separate the content and structure of a webpage from its visual appearance. It provides various selectors and properties to define the layout, colors, fonts, and other visual aspects of HTML elements. By using CSS, you can create consistent and visually appealing webpages, and also easily make global changes to the styling of multiple webpages by modifying a single CSS file.
5. Can I include JavaScript code within an HTML document?
Ans. Yes, you can include JavaScript code within an HTML document. JavaScript is a scripting language that adds interactivity and dynamic behavior to webpages. It can be embedded directly within the HTML document by using the <script> tag. The <script> tag can be placed either in the head section or the body section of the HTML document. By including JavaScript code, you can perform functions like form validation, DOM manipulation, event handling, and much more.
15 videos|19 docs|6 tests
Download as PDF
Explore Courses for Class 9 exam

Top Courses for Class 9

Signup for Free!
Signup to see your scores go up within 7 days! Learn & Practice with 1000+ FREE Notes, Videos & Tests.
10M+ students study on EduRev
Related Searches

Previous Year Questions with Solutions

,

MCQs

,

pdf

,

Information & Computer Technology Class 9 NCERT Solutions | Information & Computer Technology (Class 9) - Notes & Video

,

video lectures

,

practice quizzes

,

Free

,

Objective type Questions

,

past year papers

,

study material

,

ppt

,

Introduction to HTML

,

Semester Notes

,

Exam

,

Viva Questions

,

Extra Questions

,

Introduction to HTML

,

Information & Computer Technology Class 9 NCERT Solutions | Information & Computer Technology (Class 9) - Notes & Video

,

Summary

,

mock tests for examination

,

Information & Computer Technology Class 9 NCERT Solutions | Information & Computer Technology (Class 9) - Notes & Video

,

Important questions

,

Sample Paper

,

shortcuts and tricks

,

Introduction to HTML

;