100% found this document useful (1 vote)
1K views

Class 7th Chapter-7 (HTML - Introduction) : D. Differentiate Between The Following

HTML is a programming language used to create web pages. It uses tags to describe different parts of a web page. There are two types of tags - container tags that have opening and closing tags like <HTML></HTML>, and empty tags that are standalone like <BR>. Attributes provide additional information about tags. The DOCTYPE tag specifies that a page uses HTML5. HTML is not case sensitive and files use .htm or .html extensions. Syntax errors can be avoided by properly closing tags, using quotation marks for attributes, and formatting code neatly.

Uploaded by

Deepanshu Rathee
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
1K views

Class 7th Chapter-7 (HTML - Introduction) : D. Differentiate Between The Following

HTML is a programming language used to create web pages. It uses tags to describe different parts of a web page. There are two types of tags - container tags that have opening and closing tags like <HTML></HTML>, and empty tags that are standalone like <BR>. Attributes provide additional information about tags. The DOCTYPE tag specifies that a page uses HTML5. HTML is not case sensitive and files use .htm or .html extensions. Syntax errors can be avoided by properly closing tags, using quotation marks for attributes, and formatting code neatly.

Uploaded by

Deepanshu Rathee
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Class 7th

Chapter-7 (HTML - Introduction)

D. Differentiate between the following.

1. Container Tag: ​Tags that have both starting as well as ending are
known as container tags.
For example: <HTML> …………………… </HTML>.
Empty Tag: ​Tags that have only a starting, and there is no need to
close them (using </>) are known as empty tags.
For example: <BR>

E. Answer in 1-2 sentences.

Q1. What is HTML?


Ans. ​HTML (HyperText Markup Language) is a programming language
used to create web pages. It is simply a collection of certain keywords
called tags.

Q2. What are semantic tags?


Ans. ​Semantic tags enable us to describe the different parts of our web
page.
Example of Semantic tags are: Doctype, Header, Footer, Navigation,
Section, etc.

Q3. What do you mean by DOCTYPE?


Ans. ​DOCTYPE tag at the beginning of our page specifies that the
document is written in HTML5.

Q4. What do you mean by Attributes?


Ans. ​Attributes are used to give additional information about the tag.
F. Answer Briefly.

Q1. What are the main features of HTML?


Ans. ​The main features of HTML are given below:
i. HTML is not a case sensitive language.
ii. HTML document is saved with .htm or html file extension.
iii. HTML documents are written in any text editors and word processors.

Q2. How will you avoid syntax error while writing an HTML code?
Ans. ​Syntax error can be avoided in the following ways: Make sure the
tags have brackets, closing tags include a slash, and attribute values are
surrounded by quotation marks. Always consider using new lines to type
code, instead of running everything together in one long line.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy