Fundamentals of HTML and CSS Flashcards
What is a dynamic web page?
Dynamic web content is built when the page is requested (by the user directly or programmatically while the user is on the page
What is a static web page?
Static website pages are self-contained individual pages (or pages) sent to the browser from the server one-page-at-a-time
Is Facebook updates Dynamic or Static web pages?
Dynamic
What is the behavior of a web page?
Javascript. Because it is the inner workings of the webpage
What is the Presentation of a web page?
CSS and Imagery. Because it is how the web page looks.
What is the Structure of a web page?
HTML markup and Site planning. Because it is the foundations of the website.
What does HTML stand for?
HyperText Markup Language.
In Markup Language, what is the tag set used for?
Tag is used to group and describe content.
what is the syntax for a tag in Markup language?
< tag > Content < /tag >
In HTML list, IN ORDER, the 3 primary structure tags?
< html > < /html >
< head > < /head >
< body > < /body >
In HTML, what are the 3 main head elements?
< title > < /title >
< meta > < /meta >
< link > < /link >
in HTML, what does this structural element mean? <p></p>
paragraph
in HTML, what does this structural element mean? <h4></h4>
header 4, also the 4th larges heading.
Are attribute values case-sensitive?
yes
Basic syntax for HTML tags and attributes is:
a. < tag attribute=value > < /tag > b. < tag attribute=value > < tag > c. < tag attribute="value" > < tag > d. < tag attribute="value" > < /tag >
d. < tag attribute=”value” > < /tag >
Choose the correct HTML tag for the largest heading
a. < head >
b. < heading >
c. < h6 >
d. < h1 >
d. < h1 >
What is the correct HTML tag for inserting a line break?
a. < lb > b. < break > c. < br >
c. <br></br>
What is Stylesheet?
- Rules defining presentation
- Targetted to specific elements/tags in the HTML
what is Cascade?
- Manages priorities and conflicts
- Multiple CSS rules
- Importances and inheritance
Do elements inherit aspects from their parents?
Yes.
CSS Control, Three terms for describing style:
- CSS Rules
- CSS Selectors
- CSS Declaration
Name 3 CSS selectors
- Type (tag / element)
- # ID
- .Class
Which is better? ID or Class?
ID. Because there can only be at least one ID whereas there can be multiple elements inside one class.
Which style is this?
a. Inline style b. External style sheet c. External style stylist sheet d. None of the above
a. Inline style
The ___ property is used to set the color of the text.
a. pallet b. color c. text-decoration d. design
b. color
What does the following html/css code output?
< html >
< head >
< style type=”text/css” > p {font-size:32px;}
< /head >
< body >
This line displayed in default font size
< p >Line formatted with element selector< /p >
< /body >
< /html >
Displays Nothing
- Missing closing tag