Apply styles for the web page
Define structure of the web page
Provide meaning to the sections of the web page
None of the above
Structural
Presentational
Markup
Behavioral
Rich Decorations
Faster download times.
Greater consistency in design.
No need to write HTML Tags
Easier to maintain and update.
More formatting options.
All of the above
Style sheets allow content to be optimized for more than one type of device.
CSS can store web applications locally With the help of an offline cache
Using CSS, we can view online website. In cache also ensures faster loading and better overall performance of the website.
All of the above.
CSS
jQuery
JavaScript
PHP
Creating Style Sheets
Cascading Style Sheets
Computer Style Sheets
Colorful Style Sheets
Easier to maintain and update
Greater consistency in design
HTML
Some selectors can lead to cross-browser issues
Cannot request a webpage through CSS
Parent Selector tag is always available
Cannot always assure compatibility with every browser
Inline CSS
Internal CSS
Embedded CSS
External CSS
Style
type
class
<style src="mystyle.css">
<stylesheet>mystyle.css</stylesheet>
<link rel="stylesheet" type="text/css" href="mystyle.css">
<link rel="stylesheet" type="text/css" src="mystyle.css">
In the <body> section
At the end of the document
In the <head> section
Any Where in a Page
css
style
script
link
{body;color:black;}
{body:color=black;}
body {color: black;}
body:color=black;
style=”tag{property:value;}”
<style> tag{property: value;} </style>
css=”tag{property=value;}”
<style> tag{property=value;} </style>
body { font-size: 20px; }
body { font-size= 20px };
body:{ font-size: 20px; }
body:{ font-size= 20px; }
REL
URL
REV
all of these
Selector and property
Name and content
Head section and body section
None