Class 10 Exam  >  Class 10 Notes  >  Computer Application: Class 10  >  HTML Basics: Very Short Answer Type Questions

HTML Basics: Very Short Answer Type Questions | Computer Application: Class 10 PDF Download

Q.1. What colours do #FFFFFF and #000000 denote?   (1 Mark)
Ans:
#FFFFFF denotes white and #000000 denotes black.

Q.2. Consider the following HTML statement:   (1 Mark)
<body bgcolor = "Blue" alink = "red" vlink = "yellow"> 
In the above statement, what do you mean by alink and vlink?
Ans: 
Alink stands for active link while vlink stands for visited link. When the cursor is positioned on the hyperlinked text, the coloured specified in alink attribute (red) is seen. When the link has been clicked once, the colour changes to the one specified in vlink attribute (yellow).

Q.3. Which HTML tag would be used to display power in expression x2 + y=10.   (1 Mark)
Ans:
<SUP>

Q.4. Can we assign justified alignment to a paragraph in HTML?   (1 Mark)
Ans:
No, All the browsers support left, centre and right alignments but not justified.

Q.5. How is <BR> tag different from <P> tag?   (1 Mark)
Ans: 
<BR> starts a new line within the current paragraph. While <P> starts a new paragraph.

Q.6. How can the font size of a single line on a web page be changed?   (1 Mark)
Ans:
<P> Hello <FONT SIZE="+2"> World  </ FONT> </P>

Q.7. Give an example of an empty element in HTML.   (1 Mark)
Ans:
<BR>

Q.8. What is a BASEFONT element? What is its use?   (1 Mark)
Ans:
The BASEFONT element sets the default font size and type. The basefont size may be increased or decreased using the FONT tags.

Q.9. What is a “Tag”?   (1 Mark)
Ans:
A tag is a coded HTML command that indicates which part of web page should be displayed.

Q.10. Name the attributes of <img> tag which are used for specifying its dimensions in a web page.   (1 Mark)
Ans:
height & width.

Q.11. Which tag is used to display a horizontal rule on a web page?   (1 Mark)
Ans: 
<HR> or HR

Q.12. Write the HTML code to display a horizontal line of red color.   (1 Mark)
Ans: 
<hr color=”red”>

Q.13. Which tag/attributes of HTML are used to-   (1 Mark)
(i) Insert a picture in a web page.
(ii) Insert an empty line in the web page.
Ans: (i)
<IMG>
(ii) <BR> OR <P>

Q.14. Which heading element gives the most prominent headings?   (1 Mark)
Ans: 
<H1>

Q.15. Name two attributes of FONT tag of HTML.   (1 Mark)
Ans:
1. Size
2. Face
3. Color

Q.16. Why do we insert comments in an HTML document, even though they are not displayed on a web page?   (1 Mark)
Ans: 
Comments enable the user to understand the code.
Example: < !- This is a comment->

Q.17. What is the method of viewing the source code of the current page in the web browser?   (1 Mark)
Ans: 
Right click on the web page and then select View Source from the context menu.

Q.18. Identify the errors and write the correct HTML code   (1 Mark)
1. <BODY background=”red”>
2. <FONT type=”arial”>
Ans: 
1. <BODY bgcolor=”red”>
2. <FONT face=”arial”>

Q.19. Write HTML code to set the image “Vase.jpg” stored in “My Pictures” folder in C: as the background of your webpage.   (1 Mark)
Ans: 
The HTML code is <BODY background=”C:\My Pictures\Vase.jpg”>

Q.20. What is the use of width attribute in HTML?   (1 Mark)
Ans: 
Width attribute specifies the width of a horizontal line in pixels or percent. Its default value is 100%.

Q.21. Name two tags that are present in every HTML code.   (1 Mark)  
Ans:
<HTML>, <BODY>

The document HTML Basics: Very Short Answer Type Questions | Computer Application: Class 10 is a part of the Class 10 Course Computer Application: Class 10.
All you need of Class 10 at this link: Class 10
11 videos|49 docs|18 tests

Top Courses for Class 10

FAQs on HTML Basics: Very Short Answer Type Questions - Computer Application: Class 10

1. What is HTML?
Ans. HTML (HyperText Markup Language) is the standard markup language used to create the structure and format of web pages. It is the backbone of every website and defines the layout, content, and appearance of the web page.
2. How does HTML work?
Ans. HTML works by using tags to mark up the elements within a web page. These tags are enclosed in angle brackets and instruct the browser on how to display the content. For example, <p> tag is used to define a paragraph, <h1> to <h6> tags are used to define headings, and so on.
3. What are HTML attributes?
Ans. HTML attributes provide additional information about an element. They are used within the starting tag of an HTML element and modify the behavior or appearance of the element. For example, the "href" attribute in the <a> tag specifies the URL of the link.
4. How to create a hyperlink in HTML?
Ans. To create a hyperlink in HTML, you use the <a> tag. The <a> tag requires an attribute named "href" that specifies the URL of the link. For example, <a href="https://www.example.com">Click here</a> will create a hyperlink with the text "Click here" that redirects to the specified URL when clicked.
5. What are the advantages of using HTML?
Ans. Some advantages of using HTML include: - It is easy to learn and use. - It is supported by all web browsers. - It allows for the creation of structured and well-formatted web pages. - It provides a wide range of tags and attributes to customize the appearance and behavior of web elements. - It is the foundation for other web technologies like CSS and JavaScript.
11 videos|49 docs|18 tests
Download as PDF
Explore Courses for Class 10 exam

Top Courses for Class 10

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

mock tests for examination

,

Important questions

,

study material

,

shortcuts and tricks

,

past year papers

,

Previous Year Questions with Solutions

,

pdf

,

Summary

,

HTML Basics: Very Short Answer Type Questions | Computer Application: Class 10

,

Free

,

Objective type Questions

,

HTML Basics: Very Short Answer Type Questions | Computer Application: Class 10

,

Viva Questions

,

practice quizzes

,

Sample Paper

,

video lectures

,

ppt

,

Exam

,

Extra Questions

,

HTML Basics: Very Short Answer Type Questions | Computer Application: Class 10

,

Semester Notes

,

MCQs

;