34-HTML Style

0
255

This tutorial is all about HTML Style.
HTML style attribute is a preview into the Cascading Style Sheet (CSS) environment. As a matter of fact, the code that will be used with style is the same as the CSS code or also known as Internal CSS. CSS styling offers unlimited customization of HTML elements and web page design.

 

HTML attributes and tags becameHTML attributes and tags became outdated when the style attribute was presented into the HTML language together with CSS. Manipulating HTML elements is now accomplished by using CSS styling.

 

Example:

<p id="Paragraphcontent" style="color: #0000FF;">
   This paragraph's font has been changed to color blue.
</p>

 

Result:

This paragraph’s font has been changed to color blue.

 

Another example:

<p id="Paragraphcontent" style="color: #0000FF; Font-size:25px;">
   This paragraph's font has been changed to color blue.
</p>

 

Result:

This paragraph’s font color and size has been changed.

Readers might read also:

 

 

Facebook Comments
(Visited 18 times, 1 visits today)

LEAVE A REPLY

Please enter your comment!
Please enter your name here