Start networking and exchanging professional insights

Register now or log in to join your professional community.

Follow

How can you apply CSS style using ID value?

user-image
Question added by geeta sethi , faculty , apar india college
Date Posted: 2015/04/23
Yamuna Lenaduwa
by Yamuna Lenaduwa , Gemmologist/ Sales Executive/ French Language Interpreter , Premadasa & Co (Jewellers) Ltd

A CSS ID  selector uses the ID attribute to select one unique element on apage of an HTML. 

To use an ID value , write a hashtag(#) followed by the ID of the element. The in the brackets add the style properties that you want to apply th the element.

( This knowledge I gathered from the Internet)

 

Vijay Medikonda
by Vijay Medikonda , Chief Operating Officer , EVEY Trans Private Limited

I HAVE NO EXPERIENCE IN THIS. I WILL TRY TO GET THE INFORMATION AND PROVIDE SAME,

Maha MSArini
by Maha MSArini

You can create the style using the # key selector with the ID name then apply the CSS Value to the paragraph Tag.

Mary Mini A
by Mary Mini A , Developer , Meye Management Services Pvt Ltd

#idname

{

style You wanted to apply

}

More Questions Like This