Justin Victa CIS 212 Lab 8: Getting Started with CSS

advertisement
Justin Victa
CIS 212
Lab 8: Getting Started with CSS
I learned that the CSS selector tells the web browser which XHTML element that I
want to style. CSS selectors involves the look and formatting of the webpage.
In my opinion, it is very easy to create a CSS file. Linking a CSS file to an HTML
page is simple. It doesn’t take a lot of brain work. One benefit a CSS file can provide
me if I were building a site that has a lot of pages, is that I can directly link from the
main page (HTML) to the styling page (CSS). I can also create various CSS files.
There would be less code to create.
CSS class selectors are used to specify a style for a group of elements. It is defined
with a period. CSS ID selectors are used to specify a style for a single and unique
element. It is defined with a #. CSS descendant selectors matches all elements that
are descendants of a specified element.
Concerning the template example, it looks very interesting. The coding is very wellorganized. Meta and div is somewhat new to me. Yes, I can figure out how the
unfamiliar pieces work by doing some research.
Download