Showing posts with label EMBEDDED STYLE SHEET. Show all posts
Showing posts with label EMBEDDED STYLE SHEET. Show all posts

Sunday, June 12, 2011

HTML TUTORIAL

Embedded styles heets

<html>
<head>
<title>
css tutorial
</title>
<style type="text/css">
body {background:white;color:black}
A:link{color:red}
A:visited{color:blue}
A:active{color:green}
H1 {FONT-SIZE:36pt}
</style>
</head>
<body>
welcome to my page
<a href="http://wwww.arenagraphics.blogspot.com%22%3earena/ graphics</a>
</body>
</html>
Preview

 

HTML TUTORIAL

External style sheetsexternal style sheets are stored separately from your webpage.These are useful when if you are setting the styles for an entire websites,meaning all the pages in the site.When you change the style in an external style sheet ,you effectively change the style of all the pages that use it.

HTML TUTORIAL

Type of creating style.

1.Embedded style sheetts:Styles are specified in the <style> element.

2.External style sheets:useful when you want allthe pages on Your Websites to follow same style.
3.Inline Styles -style attribute of the tags that you want to style is used,insted of the <style>element.

Note-Different browsers show different output of css.