0% found this document useful (0 votes)
32 views1 page

1st Class

The document discusses various HTML tags and their uses including heading tags, paragraph tags, break tags, anchor tags, image tags, list tags, and CSS. It covers inline, internal, and external CSS. It also covers division tags and using padding, margin, float, and overflow to style boxes and containers.

Uploaded by

Smiley Harish
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
32 views1 page

1st Class

The document discusses various HTML tags and their uses including heading tags, paragraph tags, break tags, anchor tags, image tags, list tags, and CSS. It covers inline, internal, and external CSS. It also covers division tags and using padding, margin, float, and overflow to style boxes and containers.

Uploaded by

Smiley Harish
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

heading tag <h1> - 1st priority given

<h2>- next priority

if we want to make a line as acommand line we should use 'ctrl+/'------html eg:


(<!------xxxxxx---->

view port- screen ratio


only 6 tag can be used for heading
multiple heading tag h*4, p*4 etc...

p tag-paragraph tag
<p>---</p>
<p>lorem</p>----duplicate para

pre tag is used to brake lines automatically


<br> tag is also known as empty tag.(if any tag as no closing tag then it is known
as empty tag).
href= hyper reference
anker tag is used to link a website
target="_self" --> this cmd is used to opena cmd in the same window.
target="_blank"--> this cmd is used to open in the new window.
./--> this cmd is used to relative linking or internal linking.
to add an image use img cmd--> and use / to find the img.
<img src="source of file" alt="image not found">/// alt is used to define the image
(image not found).
to find the sourse of image we use ./ ---> inside source cmd
to change the size of image we use cmd heigh="" and width="".

<ol></ol> ----> for order list


<ul></ul> ----> unorder list

how to add css---> inline way, internal way,external way


inline way-----> to add a color to a specific heading or a para we should use <h1
style="background-color:xxxxx;color:xxxxx;"> aaaaa</h1>
internal way-----> to add a color and other specific style to a heading or a para
we can use it on <head> tag---> title----><style>h1{bg:aaa;color:aaaa}</style>

division tag is used to automatically create in a container(box)


to create a space inside a box padding is used
to create a space outside the box,margin is used.
float option is used to make boxes allign on side by side.
overflow is cmd which is used to create a container or a border

You might also like