What about Font Size - Chapter 3A

Comments
Chapter 3A
(This unit covers customization of Font Size through in-line styling.)

Now you know how to do in-line styling, we’ll see some practical implementation of it by changing its attributes.

We’ll dive into Fonts and see how we can customize it.

Remember <p> and </p> are opening and closing tags respectively. We’ll use our in-line styling on them.

To change the font size, we’ll use font-size as attribute followed by a colon. Next enter the value that you want for your text and end it with px.


E.g. <p style = “font-size:20px”>

Example of Changing Font Size
The above example changes the Font Size of paragraph from default to 20px.

For any query related to this topic,please leave comment.

Do not spam as it will be removed.

0 comments:

Post a Comment