Computer Science 2033A/B Lecture Notes - Lecture 6: Cascading Style Sheets, Html Element, Scripting Language
Document Summary
Cs 2033 lecture 6: working with css styles - the box. No(cid:449) (cid:449)e (cid:271)uild (cid:449)e(cid:271)sites the (cid:862)de(cid:448)eloper(cid:863) (cid:449)a(cid:455) identifying box elements using css styles (div. Can store in 2 ways: within each webpage (embedded, in an external style sheet and attach to the webpage. A website can use as many of these elements as they want, but . html is the basic minimum needed. Cascade refers to how files are applied to pages: t(cid:455)les are applied i(cid:374) the order the(cid:455)"re fou(cid:374)d, embedded styles take priority only over external styles, the styles in the lowest stylesheet overrides those in the higher stylesheets. The box model and your website: all browsers have default stylesheets b/c they had to have a way to display websites before style sheets. Manufacturers agreed on how to display things: now, style sheets override this default style. The premises of creating a website is using the box model: every html element (ie.