
Basic HTML tag manipulation with CSS is a very easy way to
keep your websites neat.
The Tag
<style type="text/css"> <!-- So older browsers don't print the text...
H1 {font-size: 24pt; color: red; font-style: italic;}
Above changes the value of the H1 tag...
BODY {font-size: 12pt; font-family: comic sans;}
Above changes the value of the Body tag...
-->
<style>
|
Side Notes:
Red Text is not included in the coding.
Black Text is the code.
This code should be inserted within the
<head> tags.
H1 {font-size: 24pt;This defines what size everything in a h1 tag is..
color: red;pretty self-explanatory
font-style: italic;pretty self-explanatory}
|
Now it's time to make a use out of our CSS Code...
|
<h1>This is my styled text.. <h1>
|
Side Notes
This set of tags can be inserted anywhere within
the <body>
Back to CSS Tutorials
|