0% found this document useful (0 votes)
11 views10 pages

HTML Notes 10 Pages

The document provides an introduction to HTML, detailing its structure, tags, attributes, and formatting options. It covers essential elements such as lists, links, images, tables, and forms, as well as best practices for semantic HTML. Overall, it serves as a foundational guide for creating web pages using HTML.

Uploaded by

Sai Tulasi
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
0% found this document useful (0 votes)
11 views10 pages

HTML Notes 10 Pages

The document provides an introduction to HTML, detailing its structure, tags, attributes, and formatting options. It covers essential elements such as lists, links, images, tables, and forms, as well as best practices for semantic HTML. Overall, it serves as a foundational guide for creating web pages using HTML.

Uploaded by

Sai Tulasi
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

Page 1: Introduction to HTML

HTML (HyperText Markup Language) is the standard language used to create web pages.

It structures content using tags.

Works with CSS and JavaScript.


Page 2: HTML Structure
Basic structure includes DOCTYPE, html, head, and body.

Head contains metadata, body contains visible content.


Page 3: HTML Tags & Elements
Tags define elements.

Types: Paired tags and self-closing tags.

Examples: p, h1, br, img.


Page 4: Attributes
Attributes give extra information.

Syntax: attribute='value'.

Examples: href, src, alt, id, class.


Page 5: Text Formatting
Tags: b, i, u, strong, em.

Used to format text appearance.


Page 6: Lists
Ordered list (ol), unordered list (ul), description list (dl).

List items use li tag.


Page 7: Links & Images
Links use anchor tag (a).

Images use img tag with src and alt.


Page 8: Tables
Table structure: table, tr, th, td.

Used to display data in rows and columns.


Page 9: Forms
Forms collect user input.

Input types: text, password, email, submit.


Page 10: Semantic HTML & Best Practices
Semantic tags: header, nav, section, article, footer.

Best practices: clean code, proper indentation, comments.

You might also like