2nd quarter css intro Flashcards
css stands for
casacdig style sheet
CSS use for
describe how eleemnts should be displayed
creator
Hakon wium lee
july 16, 1965, Norway
variatof css
css 1- dec 17, 1996- hakon and bert bass
css 2- may 1998- large single
specification defining various features
css4 - june 1999- split into many modules
css syntax
consist of selector and declaration
selector
what part of html u want to style
declaration
porperties; value
method of css
3 types
internal
add <style> right after <head></style>
<style>
</style>PROS AND CONS INTERNAL
PROS
class and id selectors
no need to upload multiple files
CONS
adding code increase page size and loading
external
-link pages in external css source
-most efficient method for arge webseite
-by editing .css source file you can change whole site
<link rel=”stylesheet”type=text/css”href=”stylesheet/css”>
PROS AND CONS
PROS
cleaner strucuture
may use.css file for multiply page
CONS
page may not be rendered correclty
increase download site
Incline
style spedific element w/o uisnf selectors
PROS AND CONS
PROS
quick fixes
easily increase value
no need to create seperate doc
CONS
time consuming
can affect page size