CSS Stylesheets
CSS Stylesheets
CSS Stylesheets
https://www.youtube.com/watch?v=b3_n5UPYvMo&t=284s
STEPS FOR EXTERNAL STYLE SHEET
1. Create code for mystyle in your text editor i-e notepad or any other.
2. Save this with extension of .CSS and place it in the same folder
where your html web page is available.
3. Use the code given the pervious slide no 19.
mystyle while only contain:
body{ the body style of your html page such as background , images , colors,
etc.}
elements such as h1, p, table , etc.{ style for heading either color, font size, etc.}
4. Call the link in the head section of your html as shown in the
pervious slide no 19.
Other
•
CSS
CSS Comments
Elements
• CSS Colors
• CSS Background { Image, color, repeat, etc.}
• CSS Border { width, color, size, etc.}
• CSS Margins
• CSS Padding{Right, Left, Bottom, Top}
• CSS height, Width
• CSS Text {Colors, Size , etc.}
• CSS Font , Size
• CSS Table {Span Row & Col}
• CSS Lists
• CSS Link