Sitemap

HTML

2 min readJun 7, 2026

Html Stands For Hyper Text Mark Up Language.

Basic Syntax

Press enter or click to view image in full size

Html Tags are Case insensitive,Most of the html element has Opening and closing Tag.But some html tag have no closing tag( eg:<img>).

Basic Tags

1.Headng Tag(h1,h2,h3,h4,h5,h6) h1 is the highest and h6 is the lowest

2.bold:<b>

3.italic:<i>

4.for image:<img>

5.<p> for pargraph

These are some of the tags that we used in the html.

Attribuites

Attributes is a value that added in the html tag.it provide additional information about the html elemnt.Attribute name followed by the equal(=) sign.some Attributes are src,alt,href,target etc

src

Get Gouri Krishna’s stories in your inbox

Join Medium for free to get updates from this writer.

it used in image tag

  • specify the location of the image tag

Alt

Provide Short desc about the image

href

Specify the url

Target

where to open the page self and blank are the 2 values

self:open in same window

blank:opens in a new window

main,section,article these are semantic elemnts it used for Seo(Search Engine optimization) accessibility

unorder annd order list(ul,and ol) and li elemnt used for list

Sample Code

Press enter or click to view image in full size

Output

Press enter or click to view image in full size