As always, spell check all content and identify your name and the current date in all files using comments. In html files you may use the html meta tag, e.g. <meta name="author" content="John Doe">
.
<p>
elements with id="q1"
, id="q2"
, and id="q3"
respectively. Some answers are provided as a guide.
Language ==> | HTML | CSS | JavaScript |
---|---|---|---|
Acronym | HyperText Markup Language | Cascading Style Sheet | JavaScript is not an acronym |
Definition | |||
Purpose | |||
Comment Syntax | |||
Code editor you will be using in this class | |||
Validator or primary debugging tool you will be using in this class | |||
Discuss case sensitivity in this language | HTML 5 is not case sensitive but current best practice is to write all HTML in lowercase characters with the exception of the <!DOCTYPE html> statement which is equally acceptable in either upper or lowercase <!doctype html>. | CSS 3 is not case sensitive but current best practice is to write all CSS in lowercase characters except for proper font names such as Arial, Georgia, or Times New Roman. Another best practice is to match case sensitivity in CSS selectors to their id or class attribute values in the html for readability. |
Some answers are provided as a guide.
Terminology | Language | Purpose | Example |
---|---|---|---|
element | HTML | to semantically describe and structure content on a web page | <p>These tags and text constitute a p (paragraph) element.</p> |
attribute | |||
selector | |||
property | |||
declaration | |||
object | |||
method | |||
event | |||
property |
<p id="xyz">
Item number xyz.</p>
connects to what selector in the css? ____________id="xyz"
attribute value on a given page? ________<p class="holidayItem">
Seasonal item for sale.</p>
connects to what selector in the css? ____________ class="holidayItem"
attribute value on a given page? ________Use as many paragraphs as necessary to answer each of the following areas. Code your answers using semantic html. Use the <code>
tag to markup code examples.
Pro:
Con:
Code Example:
Pro:
Con:
Code Example:
Pro:
Con:
Code Example: