Quiz Flashcards

1
Q

HTML

A

HyperText Markup Language

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

CSS

A

Cascading Style Sheets

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

HTML & CSS are

A

the two major technological components for building a website.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

HTML is used to create the structure and the content for a website,
addressing things like text, links, and images. T or F

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

CSS is used to create the look and formatting of the content created in HTML,
addressing things like typeface, color and layout. T or F

A

T

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is a tag and the
content between the opening and closing tags?

A

HTML element

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is an HTML tag?

A

the element name, surrounded by an opening (<) and closing (>)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is an opening tag?

A

the first HTML tag used to start an HTML element. The tag
type is surrounded by opening and closing angle brackets

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is an closing tag?

A

the second HTML tag used to end an HTML element. Closing
tags have a forward slash (/) inside of them, directly after the left angle bracket.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is Body?

A

Body is the key HTML element used to build a webpage. Only content inside the opening and closing
body tags can be displayed to the screen.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What Are Attributes?

A

Attributes are modifiers that provide more information about an element in HTML and are usually seen in name/value pairs; the name is the attribute name
and the value is what the attribute is set to. Values are enclosed in double or single quotation marks

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is a variable?

A

A variable allows you to change a value throughout code. They help in using an important programming tool: repetition instead of writing out a piece of data every time it is needed, write it out once and the computer remembers it and can repeat that information back as many times as it is needed.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is a value?

A

A value is assigned to a variable to save time

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What are CSS Elements

A

CSS elements are html elements that have been configured using Cascading Style Sheets. CSS elements can be used to set font sizes, color, background images, borders, margins, and other design elements. They enable customization of the look and feel of a website without having to write code

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What components are CSS divided into?

A

Selector: used to identify the HTML element you want to change the look of.
* Declaration: the set of properties and values used to describe the styling of the
element.
* Rule Set: is the code that the browser will use to render the element on the page

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

External Stylesheet in CSS-Best practice is to separate the HTML and the CSS
codes. This practice improves readability and maintainability. T or F

17
Q

To create an external stylesheet use the file extension .css Example: style.css. T or F

18
Q

When separating the HTML code from the CSS code (creating two files), the two
files need to be linked. T or F

19
Q

CSS has a number of properties that can be used to change the look of an
element. T or F

20
Q

CSS has several different units of measurement such as pixel, ems, and rems
which are used to specify the size and spacing of elements. T or F

21
Q

HTML elements must have an opening and a closing tag T or F

22
Q

What is CSS Inheritance?

A

any style applied to a parent element will be inherited by its
children

23
Q

What is Responsive Design?

A

a technique of creating a web design that responds to the size of the screen that the page is viewed on. This is usually done with
media queries

24
Q

What is a Head section?

A

starts with a <head> tag and ends with a </head> tag and contains several tags with information about the website including: title of the page, meta tags, and stylesheets

25
Q

What is a body section?

A

starts with a <body> tag and ends with a </body> tag and contains several tags that provide the content of the website including: headings, paragraphs, and lists