Difference between revisions of "Week Five (MGDP2050)"

From Wiki @ Karl Jones dot com
Jump to: navigation, search
(Selectors)
(Web page layout)
Line 39: Line 39:
  
 
Many other kinds of [[Selector|selectors]] exist, for a wide range of purposes.
 
Many other kinds of [[Selector|selectors]] exist, for a wide range of purposes.
 
== Web page layout ==
 
 
See:
 
 
* [[Composition (visual arts)]]
 
* [[Page layout]]
 
* [[Web page layout]]
 
  
 
== Bootstrap grid ==
 
== Bootstrap grid ==

Revision as of 10:13, 16 February 2016

Lecture notes and exercises for Week Five of Web Design and Development II (MGDP2050).

No classes next two weeks!

  • Next class session is March 8 (Week Six)

See also Week Four (MGDP2050) - Week Six (MGDP2050).

Review

Cascading Style Sheets

Reading: Cascading Style Sheets.

Selectors

In CSS, a selector specifies the HTML elements which will be selected by the rule.

Fundamental selectors

Fundamental selectors:

HTML element selectors

HTML element selectors select elements based on element type.

ID selectors

ID selectors select elements based on the ID attribute of a single HTML element.

Class selectors

Class selectors select elements based on the class attribute of one or more elements.

Other selectors

Many other kinds of selectors exist, for a wide range of purposes.

Bootstrap grid

The grid is Bootstrap's web page layout structure.

It is built from units of twelve. Use it to create columns.

See Bootstrap grid.

Exercises: in class

...

Exercises: for next week

...

Reading