Saturday, October 12, 2013

Putting the CSS

Now, my dear reader, there are 3 ways of implementing a CSS:


3 Implementations

1) In-line – as attribute
ex: <span style=“color: #00ff00”>Text</span>

2) Embedded/Internal – as style tag
ex: <style type=“text/css>
body
{
color: #00ff00
}
</style>3 Implementations

3) External – linked from css file
ex:  
<head>
<link rel="stylesheet" type="text/css" href=“myCSS.css">
</head>



No comments:

Post a Comment