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

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

Give one line code for the following
(a) To make “My School Web Page” as the title of a web page.
Ans: <TITLE> My School Web Page </TITLE>

(b)  To change the background color of a web page to blue.
Ans: 
<BODY BGCOLOR="blue"> </BODY>

(c) To insert a horizontal line of yellow color
Ans: 
<HR color="yellow">

(d)  To insert an image pic1.jpg onto web page.
Ans: 
<img alt="" src="https://edurev.gumlet.io/uot;https://edurev.gumlet.io/uot;pic1.jpg>

(e) To insert the list as given below:
(i) SHIVANK
(ii) SARTHAK
(iii) SANYAM
Ans: 
<OL TYPE="i">
<LI>SHIVANK </LI>
<LI> SRTHAK </LI>
<LI> SNAYAM </LI>
</OL>

C. From the list given below pick the correct answer:
BGCOLOR, HEAD, HTML, VLINK, P, FONT, SIZE,I

(a) This attribute defines the size of the text in the font element.
Ans: 
SIZE

(b) This attribute changes the background color of a web page.
Ans:
BGCOLOR

(c) This tag displays text in italic.
Ans:
I

(d) This element identifies the document as an HTML document.
Ans:
HTML

(e) This element defines the HTML header and does not affect the appearance of the document.
Ans: 
HEAD

(f) This element is used to insert a line break with extra spaces in the starting.
Ans: 
P

(g) This element changes the color of the visited link.
Ans: 
VLINK

(h) This element displays text or characters in a specific style and size.
Ans:
  FONT

D. Answer the following questions:

Q1. What is the difference between ordered list and unordered list?
Answer
Unordered List classifies the data items that have equal importance i.e. none of the data items are
ranked. They are identified by a symbol. It may be a square, a circle or a disc whereas
Ordered List classifies the data items that do not have equal importance. All the data items are ranked. The ranking can be done using the numbers, the roman letter or alphabets.

Q2. Distinguish between href and name attributes of <A> tag with the help of each.
Answer
The meaning of href is hypertext reference. This attribute is mandatory in anchor tag. The href attribute takes the value as the address of the supporting document. Both the relative and the absolute links can act as values to the href attribute.
NAME attribute gives a name to the anchor tag. This attribute takes the value as “text string”. This helps in linking to a specific section within the webpage that has been named. The purpose of the name is that another anchor can link to the named anchor. For Example: <A name=”salessection”>Sales Order Set Up</A>

Q3. Define Definition term with the help of a suitable example
Answer
Definition lists (<dl>) are the list elements that have an array of tags. The list prepared by <dl> tag is similar to a dictionary. The other tags used with this are <dt> to define the definition term and the <dd> for the definition of the list item.

For Example: 

<dl>
<dt>clairvoyance</dt>
<dd>French word for ability to see events in the future.</dd>
<dt><b>Esprit de corps</b></dt>
<dd>French word for feeling of pride and loyalty.</dd>
</dt>
</dl>

Q4. Which three tags are used to create definition lists?
Answer
1. <dl> (Definition List)
2. <dt> (Defintion Term)
3. <dd> (Definition Description)

Q5. Differentiate <BODY BACKGROUND> and <IMG> Tag.
Answer
<BODY BACKGROUND> tag is used to insert image for whole web page. The image will be displayed in background while <IMG> tag defines an image which is to be inserted in webpage in foreground.

Q6. Your school’s web address is www.littlebuds.com. You want to create a link to this web site from your web page. Write the HTML code you will use to do this.
Answer
<a href="www.littlebuds.com"> My School </a>

Q7. Difference between <A> as an anchor and <A> as a link.
Answer
<A> as an anchor allow us to go from one part of the same page to another while <A> as a link allow us to go from one page to another page.

Q8. Create an ordered list of the name of the subjects you study in school.
Answer
<ol>
<li> English </li>
<li> Hindi </li>
<li> Mathematics </li>
<li> Physics </li>
<li> Chemistry </li>
<li> Biology </li>
<li> History </li>
<li> Civics </li>
<li> Geography </li>
<li> Economics </li>
</ol>

Q9. Name and explain the various attributes of <UL> tag.
Answer
<UL> has TYPE attribute which helps in using the symbols to create a list. This attribute takes the value as the name of the symbol.
For xample: <ul type=”square”>

Q10. How can we set the color of text that acts as a link in a web page?Explain with the help of an example.
Answer
We can set the color of text that acts as a link using <body> tag.
For example: <BODY link=”red” alink=”green” vlink=”pink”>

The document HTML II, 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 HTML II, 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. HTML is used to structure the content on a webpage by using a series of tags that define the different elements such as headings, paragraphs, images, links, etc.
2. What is the role of HTML in web development?
Ans. HTML plays a crucial role in web development as it is the basic building block for creating web pages. It provides the structure and layout for the content on a webpage. HTML tags are used to define the different elements of a webpage, such as headings, paragraphs, lists, tables, forms, etc. It also allows the inclusion of multimedia elements like images, videos, and audio in a webpage.
3. What are the different types of HTML tags?
Ans. HTML tags can be categorized into several types based on their functionality. Some of the commonly used types include: - Structural Tags: These tags define the structure of the webpage, such as headings (h1 to h6), paragraphs (p), lists (ul, ol), etc. - Formatting Tags: These tags are used to format the text or content on a webpage, such as bold (b), italic (i), underline (u), etc. - Link Tags: These tags are used to create hyperlinks to other web pages or external resources, such as anchor (a) tag. - Image Tags: These tags are used to embed images in a webpage, such as img tag. - Table Tags: These tags are used to create tables for organizing data, such as table, tr, td, th tags.
4. How can I include CSS styles in HTML?
Ans. CSS (Cascading Style Sheets) is used to add styles and visual enhancements to HTML elements. To include CSS styles in HTML, you can use the <style> tag within the <head> section of your HTML document. Within the <style> tag, you can write CSS rules to target specific HTML elements and define their styles. Alternatively, you can also link an external CSS file to your HTML document using the <link> tag.
5. Can HTML be used to create interactive web applications?
Ans. While HTML provides the structure and layout for web pages, it is not designed for creating highly interactive web applications. However, HTML can be combined with other web technologies like CSS for styling and JavaScript for adding interactivity. JavaScript allows you to manipulate HTML elements, handle user actions, and dynamically update the content on a webpage, making it possible to create interactive web applications.
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

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

,

MCQs

,

Summary

,

shortcuts and tricks

,

mock tests for examination

,

HTML II

,

Important questions

,

study material

,

Previous Year Questions with Solutions

,

video lectures

,

HTML II

,

Semester Notes

,

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

,

Exam

,

Sample Paper

,

Objective type Questions

,

practice quizzes

,

Extra Questions

,

Viva Questions

,

Free

,

HTML II

,

ppt

,

pdf

,

past year papers

,

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

;