HTML5 Styles

Style any element using the style attribute. Let’s say the color of heading is to be changed, and then it can be easily done with HTML5 Styles.

Example

Here, we are styling h1, h2, and p element,

Here’s the output,

HTML5 Styles for heading and text

Let’s see another example here,

Here’s the output,

HTML5 Styles

HTML5 Title
HTML5 Canvas
Studyopedia Editorial Staff
[email protected]

We work to create programming tutorials for all.

No Comments

Post A Comment

Discover more from Studyopedia

Subscribe now to keep reading and get access to the full archive.

Continue reading