top of page

HTML Introduction: HTML Class Notes

Updated: Oct 18, 2022

Mobiprep has created last-minute notes for all topics of HTML to help you with the revision of concepts for your university examinations. So let’s get started with the lecture notes on HTML.

Our team has curated a list of the most important questions asked in universities such as DU, DTU, VIT, SRM, IP, Pune University, Manipal University, and many more. The questions are created from the previous year's question papers of colleges and universities.


Question- 1) What is HTML?


  1. HTML stands for Hyper Text Markup Language

  2. HTML is the standard markup language for creating Web pages

  3. HTML describes the structure of a Web page

  4. HTML consists of a series of elements

  5. HTML elements tell the browser how to display the content

  6. HTML elements label pieces of content such as "this is a heading", "this is a paragraph", "this is a link", etc.


Question- 2) What is formatting?

Answer: HTML Formatting is a process of formatting text for better look and feel. HTML provides us ability to format text without using CSS. There are many formatting tags in HTML. These tags are used to make text bold, italicized, or underlined. There are almost 14 options available that how text appears in HTML and XHTML.


Question- 3) What is meant by an Element in HTML?

Answer: An HTML file is made of elements. These elements are responsible for creating web pages and define content in that webpage. An element in HTML usually consist of a start tag <tag name>, close tag </tag name> and content inserted between them. Technically, an element is a collection of start tag, attributes, end tag, content between them.

Note: Some elements does not have end tag and content, these elements are termed as empty elements or self-closing element or void elements.


Question- 4) Define HTML Tags.

Answer: HTML tags are like keywords which defines that how web browser will format and display the content. With the help of tags, a web browser can distinguish between an HTML content and a simple content. HTML tags contain three main parts: opening tag, content and closing tag. But some HTML tags are unclosed tags.

When a web browser reads an HTML document, browser reads it from top to bottom and left to right. HTML tags are used to create HTML documents and render their properties. Each HTML tags have different properties.


Question- 5) Write a short note on Comments in HTML.

Answer: Comments are some text or code written in your code to give an explanation about the code, and not visible to the user. Comments which are used for HTML file are known as HTML comments. Anything written between these tags will be ignored by the browser, so comments will not be visible on the webpage.

Comments of any code make code easy to understand and increase readability of code. Comments are also part of the code, which gives an explanation of the code.

You can add comments in your HTML file using <! -- ... --> tag. So if you will write anything between theses comment tag that will be treated as comment and browser will not read it.


191 views0 comments

Recent Posts

See All


Commenting has been turned off.
bottom of page