quiz 1 reviewx

Download Report

Transcript quiz 1 reviewx

Review for exam 1
Midterm Closed Book
Review for Exam 1
 Blackboard topic Review for exam 1
 Sample Question





Multiple Choice
True / False
Matching type
Short answer
Tutorial Outlines
XHTML is HTML written as XML
 The Most Important Differences from HTML: 64
 Document Structure



XHTML DOCTYPE is mandatory (1)
The XML namespace attribute in <html> is mandatory
<html>, <head>, <title>, and <body> is mandatory(2)
 XHTML Elements
 XHTML elements must be properly nested(3)
 XHTML elements must always be closed (4)
 XHTML elements must be in lowercase (5)
 XHTML documents must have one root element
 XHTML Attributes
 Attribute names must be in lower case(6)
 Attribute values must be quoted(7)
 Attribute minimization is forbidden
 http://www.w3schools.com/html/html_xhtml.asp
Block vs. Inline CSS
 http://www.impressivewebs.com/difference-block-
inline-css/
CSS property - Display
 http://www.w3schools.com/cssref/pr_class_display.as
p
Deprecated
 Deprecated means
65
 What did XHTML deprecate in general
 http://www.htmlgoodies.com/tutorials/html_401/htm
l4-ref/article.php/3460291/Deprecated-Tags-inHTML-40.htm
 Link from BB tutorial 1
Hyperlinks Targets
 66 What are the four main targets for hyperlinks on
web pages? Provide a simple example of each one
CSS Cascading Style Sheete
 67 What is CSS and what is its primary purpose when
making web pages?
Ways to Connect CSS to HTML
 68 List the three levels (ways to connect css to html} of
CSS and generally discuss what they do and how they
are applied in the HTML
3 Big words on how CSS works
 69 What does inheritance mean within CSS?
 70 What does precedence mean within CSS?
 71What does specificity mean within CSS?
CSS format Rule
 72 What is the general format for a CSS style or rule
 Self closing tag also know as an empty element <br />
 /is not required but it is good idea to use.
CSS selectors
 73What are CSS selectors and what do they in
CSS? Provide four examples of CSS selectors
Pathnames
 74 What is a pathname?
 75What is the default pathname? Provide an example
of one.
 76 What is a relative pathname? Provide an example
of one
Things to Remember
 Case Sensitivity
 Different web browsers render the HTML content
differently depending on browser (I.E. Chrome, etc)
and possibly version.
 Proper nesting of tags
Images Review
 We talked about inserting images
 Tag Attributes <img src=“ ” />
 Best practice is to size the image before uploading to
reduce load time
A few Ways to Modify Images
 http://pixlr.com/editor/
 Free and on Web
 Doesn’t require an install
 Adobe Photoshop or Fireworks
 If you already have the CS suite
 Otherwise costs money
 MS Paint has an option to re-size
 Free and already installed
 GIMP
 Free photo editor similar to Photoshop
Pathnames Project
 Pathname Project on Blackboard
 Path
 Default
 Relative
 Absolute