SLIDE 14 27
Venkat Subramaniam – svenkat@cs.uh.edu
HTML Events
user leaves an element that has focus
user modifies content of element (like INPUT)
user clicks / double clicks on specified area
user selects, clicks or tabs to element
user types something in the specified area
user releases key after typing
page is loaded in browser
mouse pressed down over the element
mouse moved over after pointing at element
mouse moved away from element after being
mouse released after the click
form’s reset button clicked
selected one or more words in element
form’s submit button clicked
browser loads different page after specified page
28
Venkat Subramaniam – svenkat@cs.uh.edu
Cascading Style Sheets
- HTML allows specification of fonts, colors,
etc.
- These may be placed through out the
document
– results in poor maintainability – What if you want to change these
- This is where CSS comes in
- You specify the formatting or styling
separately in
– the top of the document – or in a separate document