Black & White Series
Page Styles
style
Attribute
-
Defines the presentation styles of an element
-
Examples of styles:
- color
- letter font
- letter size
- background color
Example
<h1>Dinosaur Story</h1>
<p>
The <b>dinosaur jumped</b> into the mud.
</p>
Example
<h1 style="font-family:Arial">Dinosaur Story</h1>
<p style="color:blue">
The <b>dinosaur jumped</b> into the mud.
</p>
Style Scope
The style reaches the element scope
Style Scope Hierarchy
Inner scopes replace outer ones
<p style="color:blue">
The <b style="color:green">dinosaur jumped</b> into the mud.
</p>
Style Scope Hierarchy
Multiple Items in a Style
<p style="color:blue;font-size:16pt">
The <b style="color:green">dinosaur jumped</b> into the mud.
</p>
Color/Font Scopes
Color/Font Scopes
Videos / Tutorials
W3Schools HTML Tutorial
https://www.w3schools.com/html/
Web and Semantic Web 2015 Playlist
https://youtube.com/playlist?list=PL3JRjVnXiTBZpnuD7ZtJ3fdNsCcR5Oy7B
André Santanchè
www.ic.unicamp.br/~santanch/
Web2Learn
santanche.github.io/web2learn/