Category Archives: CSS

Testing with Paragraphs CSS

<!DOCTYPE html> <html> <head> <meta charset=”ISO-8859-1″> <title>CSS Paragraphs</title> <style> {border-style:dotted;} p.double{border-style:double;} </style> </head> <body> <p class=”dot”> This is dotted paragraph</p> <p class=”double”> This is double paragraph</p> </body> </html>

Posted in CSS, Uncategorized | Leave a comment

Getting started with CSS

<!DOCTYPE html><!DOCTYPE html><html><head><style>body {    background-color: yellow;} h1 {    color: black;    text-align: center;} p { color:green;    text-align: center;    font-family: verdana;    font-size: 20px;}</style></head><body> <h1>My First CSS Example</h1><p>This is a my first CSS example.</p> </body></html>

Posted in CSS, Uncategorized | Leave a comment

Getting Started with CSS

CSS mainly uses the model :Style separated by declaration. As an example everything like h1,p tags will be considered as style. Example of CSS: <!DOCTYPE html> <html> <head> <style type=”text/css”> h1{ color: red; font-weight: normal; letter-spacing: .4em; text-transform: lowercase; } … Continue reading

Posted in CSS | Tagged | Leave a comment