January 15, 2026

QuestiQa भारत

देश विदेश की खबरें आप तक

Share Questiqa भारत-
Advertisements
Ad 5

Article –

HTML (HyperText Markup Language) is the standard markup language used to create web pages. It structures content on the web and is interpreted by browsers to display text, images, links, and other elements.

Advertisements
Ad 7

Basic Structure of an HTML Document

An HTML document typically follows this structure:

  1. <!DOCTYPE html>: Declares the document type and version of HTML.
  2. <html>: Root element that contains the whole content.
  3. <head>: Contains meta-information, title, and links to scripts or stylesheets.
  4. <body>: Holds the main content to be displayed on the webpage.

Common HTML Elements

Some of the most frequently used HTML elements include:

  • <p>: Defines a paragraph.
  • <h1> to <h6>: Headings, where <h1> is the highest level.
  • <a>: Anchor tag used to create hyperlinks.
  • <img>: Embeds images.
  • <ul> and <ol>: Create unordered and ordered lists respectively.
  • <li>: List items inside lists.

Using Tags Correctly

HTML tags should be properly opened and closed. For example:

Advertisements
Ad 4
<p>This is a paragraph.</p>

Some tags like <img> are self-closing and don’t require a closing tag, though HTML5 allows omitting the slash.

Conclusion

Understanding and using the correct HTML syntax ensures that web pages are displayed properly across different browsers and devices.

About The Author

You cannot copy content of this page

Social Media Auto Publish Powered By : XYZScripts.com