HTML Class 10 Important Questions

HTML Class 10 Important Questions

Q1. What is the purpose of HTML?
Ans. HTML (Hypertext Markup Language) is a programming language that is used to construct Web pages and instructs browsers on how to display them. It creates the fundamental structure and formatting of Web pages.
The components of an HTML document are identified by elements, tags, and attributes, which also instruct the browser on how to display them.

Q2. What is the purpose of using HTML tags and attributes for Web designing?
Ans. Web pages are made using HTML (Hypertext Markup Language). By utilizing tags and attributes, it creates the fundamental structure and formatting of Web pages.
The purpose of a tag is indicated by its name, and any further information for the Web browser is provided by the attributes that follow the tag name.

Q3. What is the <TITLE> tag? CBSE 2006
Ans. The document title is defined by this tag. Simple text is required for the title, which cannot be the same as the file name. Between the HEAD> and /HEAD> tags is where it goes.

Q4. What do you understand by the term URL? How is it different from an email address? 

Ans. Uniform Resource Locator is an acronym for URL. An online resource is basically identified by its web address. An email address is a mail server account. An email address contains the @ sign, but a URL does not. This is the primary distinction. A www is not the first element of an email address.

Q5. What do you understand by a newsgroup? How is it different from a blog?

Ans. An online discussion group known as a newsgroup. It is structured around a specific subject, like cyber security. On the group, people can publish messages pertaining to the subject. A discussion group is open to everyone.

A blog is more similar to a website where a person or group of people can write about anything that piques their interest, such as sports, culture, etc. It is typically held by a single person, and we may only leave comments on blogs that permit it.

Q6. What is a Hypertext link? Give the name and the syntax for the HTML tag which is used for creating a Hypertext Link.

Ans. We can use hyperlinks to connect (text and/or image) elements from one HTML document to another or to a new part within the same document.

Name- anchor tag, Syntax <a href= ”Link Address”>Hyperlink Text</a>

Q7. Define Internet and write its two uses in our daily life. How is it different from the World Wide Web (www).

Ans. A global network of interconnected computer networks and other devices is known as the Internet. It gives us a very simple, quick, and practical approach to obtain any kind of information. It makes use of (TCP/IP), the common Internet Protocol.

Two uses are-

To access any educational website, such as- Vikas academy.

Using an email service to send emails & receive emails.

The internet is a network of interconnected computers, but the world wide web, or web for short, is the collection of pages you access when you’re using a device and surfing.

Q8. What is e-learning? Explain any two merits of e-learning

Ans. A learning system that uses electronic resources, primarily computers and the internet, is known as e-learning. It includes anything from conventional classrooms with rudimentary technology integration to online colleges and universities.

Merits

E-learning is quite engaging because teachers use technology to teach. Students can study whenever they want, wherever, which helps them save a lot of time and money.

Q9. A web browser is different from a web server”. Explain any two differences in web browser and web server with suitable example of each.

Ans. A web server is a programme that makes documents available to web browsers on demand while a web browser is a programme that may be used to browse and display pages that are available via the internet.

A web server responds to requests for online services, among other things, from web browsers by sending the necessary documents.

While Apache server is an example of a web server, Google Chrome is an example of a web browser.

Q10. What is the purpose of using type attribute used in lists?
Ans. Depending on whether the list item is inside an ordered list or an unordered list, the type attribute determines the kind of numbers or bullets.

Q11. Name two common graphic files formats that most browser recognize.
Ans- The 2 usually graphic file formats are- gif & jpg.

Q12. Explain any two differences between 3G and 4G mobile technologies.

Ans. Give two examples of how 3G and 4G mobile technology differ from one another.

The speed is the primary distinction between 3G and 4G mobile technologies.

The third generation of wireless mobile technology is known as 3G.The successor to 3G, 4G is the fourth generation of broadband cellular network technology.
The maximum download speed for a standard 3G phone is 21Mbps.Using a 4G phone, you can download files at up to 1GB/s.

Q13. What is the method of viewing the source code of the current page in the Web browser?
Ans. Right click on the Web page & then click View Source from the context menu.

Q14. While writing HTML code, how do you find out how your Web page would look like? CBSE 2007
Ans. To do this open the HTML Code File in a Web browser.

Q15. Write one basic difference between bgcolor and background attributes.
Ans. While the background element specifies a background image for a page, the bgcolor attribute is used to colors the document’s backdrop.

Q16. Explain the tag < HEAD >
Ans. <HEAD> Tag
All of the header elements are contained within this element. The document’s title, which may also contain scripts, styles, meta data, and other elements, must be included in the HEAD> tag. Your HTML document’s second line should read “HEAD>.

Although it is not directly visible on the Web page, the content in your document’s head section gives information to browsers and search engines. The /HEAD> symbol signifies the conclusion of the head tag.

Example-

<HTML>

<HEAD>

Header information comes here

</HEAD>

</HTML>

Q17. Distinguish between <BASEFONT> tag and <FONT> tag with the help of an example of each. CBSE 2009, 08
Ans. The default text setting is specified using the BASEFONT> tag. It accepts the same properties as the FONT> tag. The BASEFONT> tag simply differs in that it affects all text after it until another tag affect is encountered. The text up to the ending /FONT> tag is affected by the FONT> tag.

Example-

<HTML>

<BODY>

<BASEFONT size=“2” color=“Red”>

Hi Everyone

<FONT size=“4”>

HTML is a Web language

</FONT>

It is used for creating Web pages.

</BODY>

</HTML>

Here, in the upper example only the text enclosed in <FONT> </FONT> is affected by font setting, rest of the text gets effected by basefont setting.

Q18. Distinguish between <P> tag and <BR> tag with the help of an example. CBSE 2005
Ans. Following are some way to tell a <P> tag and <BR> tag:

<P> tag<BR> tag
It is an element of a container.The element is blank.
It is employed to specify a paragraph of text on a website.Line breaks are inserted using it.
It begins with a line break and more space.There is no additional space added.
This tag’s align attribute is present.There is no attribute for this tag.

Q19. Why should you specify a background color, if you are using an image for the actual background of your page?

Ans. We must select a background color because, even if an image cannot be seen, the background color will still be visible.

Q20. The default alignment for paragraph is

Ans. Various alignments, including left, right, center & justify, are available using the align attribute of the <P> tag. However, its alignment is left by default.

Leave a Comment