HTML


List in HTML

List in HTML is Specified by(unordered/list with Bullet) or (ordered/list with number)

* This is unordered list
* This is unordered list

1. This is ordered list
2. This is ordered list 

<li>  Defines the Item To show in list 
 
Example:

<ul>
<li>item 1</li>
<li>item 2</li>
<li>item 3</li>
</ul>

preview:


  • item 1

  • item 2

  • item 3

Colors in HTML

red

Red

FF0000

green

Green

008000

blue

Blue

0000FF

orange

Orange

FFA500

yellow

Yellow

                   FFFF00

black

Black

000000

How To use these colors in HTML?

# To change the background color bgcolor attribute is used in Body tag.

Example:

<body bgcolor="6 digit Color code or color name">

</body>


# To Change the font color text attribute is used in Body tag.

Example:

<body text="6 digit Color code or color name "> 

</body>

Images in HTML

We can use <img> tag to put an image in page.

There are few image related attributes like (src), (alt), (height & width) 

Where
src = file path of image

alt = alternative of image(In any case image can't be previewed at that time it's alternative will be visible)

height & width = To set the height and width of image

Example:

<img src="
https://www.google.com/images/branding/googlelogo/1x/googlelogo_color_272x92dp.pn" alt="there is image" style="height:150px;width:300px">

If image can't load it will look like this:

Preview:

there is image
<img src="https://www.google.com/images/branding/googlelogo/1x/googlelogo_color_272x92dp.png" alt="there is image" style="height:150px;width:300px">

If image loads properly it will look like this:

Preview:

there is image

Address

32, neminath nagar, model town, surat


Contacts

Email: gearedminds007@gmail.com 
Phone: +91 83205 04609

 

Links
Feedback

Thanks for visiting my website if there's any problem you can contact me. Find me on social media or fill out the form given on Home page to get in touch.