Frontend part 2 Flashcards

1
Q

Hur beskriver man en attribut?

A

Attribut kan beskrivas som egenskaper för en html tag

<p>This is an element<p>

An HTML element consists of a start tag, some content, and an end tag. You can also have attributes in your tags such as class or id name.

<p>This is an Element</p>
</p></p>

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

What is lorem50?

A

It is just placeholder nonsense text to set up a webpage. The 50 just indicates you want 50 of these made up words.

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

Where do you find the wordwrap command when you want your lorem to fit in the document and not just stay on one line?

A

In the “view” menu choice at the top of the screen

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

what is the ul tag for?

A

to create an unordered list.

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

What are div and span?

A

Div and
span are containers

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

what are containers for?

A

To group related content into one unit

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

what are inline and block?

A

These are 2 different kinds of “elements”

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

what kind of element is span?

A

Span is an inline element

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

What is an inline element?

A

An inline element only takes up as much space as its content… not the entire width of the page

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

What is his person number?

A

0809020274

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

What is her person number?

A

6609271322

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

What kind of element is div?

A

Div is a block element. It takes up the entire width of the page

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

What are the two key properties of a parent element?

A

it must have a start and close tag and it is an element that encompasses other elements

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