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

Simplified HTML Notes

HTML, or Hyper Text Markup Language, is used for structuring web pages with markup tags. Key components include tags, elements, headings, links, images, text formatting, lists, tables, forms, iframes, colors, and comments. Each component has specific syntax and attributes that define its function and appearance on a webpage.

Uploaded by

hsbisht261025
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)
8 views2 pages

Simplified HTML Notes

HTML, or Hyper Text Markup Language, is used for structuring web pages with markup tags. Key components include tags, elements, headings, links, images, text formatting, lists, tables, forms, iframes, colors, and comments. Each component has specific syntax and attributes that define its function and appearance on a webpage.

Uploaded by

hsbisht261025
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
You are on page 1/ 2

Simplified HTML Notes

What is HTML?

HTML stands for Hyper Text Markup Language. It is used to describe the structure of web pages using

markup tags.

HTML Tags

Tags are keywords inside angle brackets like <html>. Most tags come in pairs: opening tag <p> and

closing tag </p>.

HTML Elements

Elements consist of a start tag, content, and end tag. Some are empty like <br>. Elements can have

attributes.

Headings and Paragraphs

<h1> to <h6> define headings (h1 being most important). <p> defines paragraphs.

Links

<a href='url'>Link</a> defines a hyperlink. 'href' is an attribute that holds the link's

destination.

Images

<img src='image.jpg' alt='desc' width='100' height='100'> defines an image. 'src' specifies path and

'alt' alternative text.

Text Formatting

Tags like <b>, <i>, <strong>, <em> are used for bold, italic, and emphasized text.

Lists

Ordered list: <ol>, Unordered list: <ul>, List item: <li>, Definition list: <dl>, <dt>, <dd>.

Tables

<table> creates tables with rows <tr> and cells <td>. Use <th> for headers.
Simplified HTML Notes

Forms

Use <form> to create user input forms. <input> types include text, password, checkbox, radio,

submit.

Iframes

Use <iframe src='url'> to embed a webpage inside another.

HTML Colors

Colors use HEX codes like #FF0000 or RGB values like rgb(255,0,0).

HTML Comments

Comments are added using <!-- This is a comment -->.

You might also like