Lecture 1 Flashcards

1
Q

What does mark up do?

A

Gives structure to a document

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

How do you set the encoding of a page to utf 8?

A

<meta></meta>

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

What are block level elements?

A

elements formatted with line breaks before and after

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

,

,

are all _____________ elements

A

Block level

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

What are inline elements?

A

Elements which do not have line breaks before and after

May not contain block level element

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

, , , <a>, <img></img> <span></span></a>

are all examples of _________ elements

A

Inline

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

What is the concrete syntax and what defines it?

A

How to write opening and closing tags, how to specify attributes etc. i.e how the language is to be written

SGML

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

What is the abstract syntax and what defines it?

A

What element names are allowed, what attributes etc. I.e. defining the actual language.

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