Change the Font Size of an Element

How to Change the Font Size:
In this section you will learn how to change the size of font of an element. Font size is controlled or changed by the font-size css property.
You can change font size by following below steps:
Step1: Open your text editor or Notepad.
Step2: Write the below code in your editor or notepad.
Step3: Save your document in etc.html format.
Step4: Open in Browser.

For Example:

<title> your web page title name </title>
font-size: 30px;
<h1> your first heading </h1>
<p> your paragraph .</p>


Please Share To Other:

Post a Comment