PRE-MIDTERM Flashcards

1
Q

What is HTML?

A

Hyper Text Markup Language.

It is used to structure the contents of a webpage.

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

What are HTML elements?

A

HTML uses tags to define elements.

< h > - tag is for heading
< p > - tag is for paragraph
< Img src= “image_url” >

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

What are container tags?

A

They’re the opening and closing tags.

< > and </ >, respectively.

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

What is the basic structure of an HTML file?

A

HTML, head and body tags.

< html >
< head >
< /head >
< body >
This is a line of text.
< /body >
< /html >

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

What are the main parts of HTML?

A

Head and body.
< head >
< /head >
< body >
< /body >

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

General HTML element tag consists of:

A

Opening tag, content, closing tag.

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

What is the role of an attribute in HTML?

A

It modifies the tag.

Such as measurements: “10px”, “10%”
Align = “right”, “left”, “centre”

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

How do you make a table?

A

< table > < tr > < td > < /td > < td > < /td > < /tr > < /table >

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

Which attribute is used to expand a cell for two or more cells?

A

Colspan.

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

What is the structure of the header tag?

A

< html >
< head > < /head >
< body >
< header >
< /header >
< /body >
< /html >

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

The header element is appropriate to use inside the ______?

A

The body tag.

< body >
< /body >

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

Where is the <footer> element and what does it include?

A

Located at the very bottom of the web page as the footer.

The following information is usually provided by the <footer> </footer> tags:
- Contact Information
- Privacy Policy
- Social Media Icons
- Terms of Service
- Copyright Information
- Sitemap and Related Documents

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

What is the <nav> tag?

A

The <nav> tag represents a section of a page that links to other pages or to certain sections within a page.

It is intended for only MAJOR blocks of navigation links.

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

What is this?

< nav >
< ul >
< li >< a href=”#” > Home < /a > < /li >
< li >< a href=”#” > Home < /a > < /li >
< li >< a href=”#” > Home < /a > < /li >
< /ul >
< /nav >

A

A major block of navigation.

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

What is this?

< nav >
< ul >
< li >< a href=”#” > Home < /a > < /li >
< li >< a href=”#” > Home < /a > < /li >
< li >< a href=”#” > Home < /a > < /li >
< /ul >
< /nav >

A

A major block of navigation.

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

The general format for an HTML tag with two parameters and some content

A

< tagname param=value param2=value > content < /tagname >

17
Q

Three reasons why we use CSS:

A
  1. Efficiency
  2. Consistency
  3. Flexibility