HTML5 & CSS3 For Beginners: Your Guide To Easily Learn HTML5 & CSS3 Programming in 7 Days by iCode Academy

HTML5 & CSS3 For Beginners: Your Guide To Easily Learn HTML5 & CSS3 Programming in 7 Days by iCode Academy

Author:iCode Academy [Academy, iCode]
Language: eng
Format: azw3
Published: 2017-05-18T04:00:00+00:00


For example, the following style rule will apply to an element with the id of "parax":

#parax {

text-align: left;

color: blue;

}

Class Selector

Class selectors are used to format elements with a particular class attribute. The style rule you define will apply to all elements that match the specified class. To use the class selector, you will write a period (.) before the class name.

For example, in the following code, all HTML elements with class="black" will be blue and left-aligned:

.black {

text-align: left;

color: blue;

}



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.