0% found this document useful (0 votes)
20 views2 pages

HTML Basics and Common Tags Guide

The document provides a comprehensive overview of HTML, including its basic structure and common tags such as headings, paragraphs, links, and images. It also covers lists, media elements like audio and video, tables, forms, semantic elements, and other HTML components. This serves as a foundational guide for understanding and using HTML in web development.

Uploaded by

Kshitij Jain
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)
20 views2 pages

HTML Basics and Common Tags Guide

The document provides a comprehensive overview of HTML, including its basic structure and common tags such as headings, paragraphs, links, and images. It also covers lists, media elements like audio and video, tables, forms, semantic elements, and other HTML components. This serves as a foundational guide for understanding and using HTML in web development.

Uploaded by

Kshitij Jain
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

HTML Full Course - Notes from Bro Code (YouTube)

1. HTML Basics

HTML (HyperText Markup Language) is used to structure web content.

Basic structure:

<!DOCTYPE html>

<html>

<head><title>Page Title</title></head>

<body>

<!-- Content here -->

</body>

</html>

2. Common Tags

Headings: <h1> to <h6>

Paragraphs: <p>

Line Breaks: <br>

Horizontal Rule: <hr>

3. Links and Images

Links: <a href='url'>Text</a>

Images: <img src='path' alt='desc'>

4. Lists

Unordered: <ul><li>Item</li></ul>

Ordered: <ol><li>Item</li></ol>

5. Media

Audio:
HTML Full Course - Notes from Bro Code (YouTube)

<audio controls><source src='audio.mp3'></audio>

Video:

<video controls><source src='video.mp4'></video>

6. Tables

<table>

<tr><th>Header</th></tr>

<tr><td>Data</td></tr>

</table>

7. Forms

<form>

<input type='text'>

<input type='submit'>

</form>

8. Semantic Elements

Examples: <header>, <footer>, <nav>, <section>, <article>, <main>

9. Other Elements

<div>: block-level container

<span>: inline container

Comments: <!-- comment -->

You might also like