0% found this document useful (0 votes)
2 views

HTML Basics

HTML is the standard language for creating web pages and applications, consisting of a basic structure that includes doctype, HTML element, head, and body. Common tags include headings, paragraphs, links, images, lists, and elements for grouping. HTML also supports forms and semantic elements to define the structure and meaning of content.

Uploaded by

akska3799
Copyright
© © All Rights Reserved
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views

HTML Basics

HTML is the standard language for creating web pages and applications, consisting of a basic structure that includes doctype, HTML element, head, and body. Common tags include headings, paragraphs, links, images, lists, and elements for grouping. HTML also supports forms and semantic elements to define the structure and meaning of content.

Uploaded by

akska3799
Copyright
© © All Rights Reserved
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

HTML (Hypertext Markup Language) is the standard language for creating web pages

and web applications.


1. Basic Structure of HTML:
- Doctype: Defines the document type and version of HTML.
- HTML Element: The root element that wraps all content.
- Head: Contains metadata like title and links to stylesheets or scripts.
- Body: Contains the visible content of the webpage.

2. Common HTML Tags:


- <h1>, <h2>, <h3>...<h6>: Headings.
- <p>: Paragraph.
- <a>: Anchor (links).
- <img>: Image.
- <ul>, <ol>: Unordered/Ordered List.
- <div>, <span>: Group elements.

3. HTML Forms:
- <form>: Defines the form.
- <input>: Specifies input fields.
- <label>: Defines a label for an input element.
- <button>: Defines a button.

4. HTML Semantics:
- <header>, <footer>: Define page header and footer.
- <article>, <section>: Define distinct content areas.
- <main>: Represents the main content of a document.

You might also like