Exercises
E. Answer the following questions.
1. What is HTML?
Ans: HTML stands for HyperText Markup Language. It is used
to design and create a web page.
2. Write four features of HTML.
Ans: Four features of HTML are:
i)
HTML is used to create web pages.
ii)
HTML is a platform independent language.
iii)
HTML is not a case sensitive language.
iv)
HTML is easy to learn and use.
3. Define the terms: tags and attributes.
Ans: Tags are the labels which are used to mark up the start
and end of an element.
Attributes always come after the tag name, each separated with one or more space. An attribute provide additional information about the HTML element used to create a web page.
4. Differentiate between container tags and empty tags.
Ans:
Container tags |
Empty tags |
1. This tag has opening as well as closing tag. 2. Also called paired tag Eg. <html> … </html> <body> … </body> |
1. It has only the opening tag 2. It is also called singular tag Eg. <br>; <hr>; <img> |
4. Write the structure of an HTML document.
Ans:
|
<html> |
Header section |
<head> <title> Document header </title> </head> |
Body section |
<body > Contents </body> |
|
</html> |
6. Define the terms: website and web page.
Ans: Website: A website is a collection of interrelated web
pages that provide information to the user.
Web page: It is a page on the internet which contains the
information in the form of text, graphics, or sounds.
7. What is a web browser?
Ans: A browser is a software application that enables the
users to access, retrieve and view the information and other resources on the
Internet.
8. Explain the two types of HTML documents.
Ans: HTML editors are the programs used to create web pages.
The two most commonly used HTML editors are:
i)
WYSIWYG Editors: WYSIWYG means What You See Is What
You Get. It is not mandatory to have a complete knowledge of HTML. This allows
the user to edit the HTML commands directly from the web browser. It helps the
user to create the web page quickly.
ii)
Text Editors: They are used by the users who
have complete knowledge of HTML. The source code to create a web page are to be
written in text editors. The two most commonly used text editors are Notepad
and Word Pad.
9. Explain the steps to view an HTML document.
Ans: To view an HTML document:
i)
Click Internet Explorer icon
ii)
Click File à
Open à
Browse
iii)
Choose the file and Click Open button.
10 . Explain the steps to create HTML document.
Ans:
i)
Click File à
Save As.
ii)
Type file name with .html as extension.
iii)
Click the Save button.
Sir you didn't gave question answer Q3 full answer you only gave what is tag but didn't gave what is attribute
ReplyDeleteYes you didn't gave attribute
DeleteSir gave, check properly
DeleteThanks sir
ReplyDeleteSir please give question answer Q3 what is attribute or tell from where to do
ReplyDeleteNo sir gave, check properly
DeleteOffline school has
ReplyDeleteYAY!
Yessss YEAPPYYYYY!!!!!
DeleteBut I can't come😫😫😫😭😭😢
Delete