Did you know that when you format your text in WordPress you may be adding or changing the CSS in your page?
Some of the tags in CSS which was also see in WordPress are the bold, underline, and capitalization functions. In CSS in orer to accomplish these things we would need to select an element such as P (paragraph), B (body), or h1 (heading 1). If we are trying to make the h1 text bold for example we would go into our CSS and type h1 {
font-weigth:bold;
}
Another major portion of CSS that we also see in WordPress is the ability to change the color of text. In WordPress you can press the text color icon in order to change color, but in CSS it would display like this…
element {
color:green;
}
CSS is not a stand alone coding language. In order for it to work optimally it must work in tandem with HTML. Here are a few examples of HTML and CSS working together…
Another element of HTML is tags which help add character to your coding. For example the decision to make this text red but not the previous text. In HTML this would appear as “<span style=”color: #ff0000;”><strong>For example the decision to make this text red but not the previous text. In HTML this would appear as </strong></span>”, but it appears to the reader normally.