Lecture 1 Flashcards
What does mark up do?
Gives structure to a document
How do you set the encoding of a page to utf 8?
<meta></meta>
What are block level elements?
elements formatted with line breaks before and after
, ## ,
,
,
are all _____________ elements
Block level
What are inline elements?
Elements which do not have line breaks before and after
May not contain block level element
, , , <a>, <img></img> <span></span></a>
are all examples of _________ elements
Inline
What is the concrete syntax and what defines it?
How to write opening and closing tags, how to specify attributes etc. i.e how the language is to be written
SGML
What is the abstract syntax and what defines it?
What element names are allowed, what attributes etc. I.e. defining the actual language.