Section 1

Preview this deck

What is new to HTML5?

Front

Star 0%
Star 0%
Star 0%
Star 0%
Star 0%

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Active users

0

All-time users

0

Favorites

0

Last updated

7 years ago

Date created

Mar 1, 2020

Cards (15)

Section 1

(15 cards)

What is new to HTML5?

Front

- Consistent error handling - Support for more web application features - Enhanced element semantics - Maximised mobile support

Back

What are HTML attributes?

Front

All HTML elements can have attributes. - Provide additional information about an element - Always specified in the start tag - Come in name/value pairs like: name="value"

Back

What is the class attribute?

Front

It can be used to define custom classes of HTML elements, which can, for example, be used to define class-specific presentation styles.

Back

What is the difference between block and inline elements?

Front

Block element - Always starts on a new line and takes up the full width available ("<div>") Inline element - Does not start on a new line and only takes up as much width as necessary ("<span>")

Back

What is content markup?

Front

Content indicates what part a piece of content plays in the document. - Called "semantic" markup - HTML is the content-markup language used on the Web

Back

What are HTML elements?

Front

An HTML element usually consists of a start tag and end tag (< ... >). - Treated specially by the browser. - Marks a document element. - Everything from the start tag to the end tag. - Non-markup text is called character data

Back

Name some examples of semantic markup

Front

- "<section>" : document section, typically with a heading - "<article>": independent part, e.g. a blog entry - "<aside>": a note on the side, not central to content - "<nav>": content used for document navigation

Back

Why is content and style separated?

Front

HTML was also used for style markup. This now considered bad practice. The HTML file will load slower and the file will be bigger.

Back

How do undefined / misspelled attributed or tags get treated?

Front

Browsers ignore tags with, for example, unknown or misspelled element names. Usually no error generated by misspelled or undefined attributes.

Back

Understand the basic tree structure of an HTML document, concept of syntax validation

Front

<head> - Contains meta information about document (title, author, character encoding, style used, scripts) <body> - Contains the actual document content

Back

What is the difference between WHATWG and W3C on the status of the HTML5 specification?

Front

The WHATWG sees the WWW as a platform that stays evolving. The W3C recommends certain things to use in the markup language. Which means that they were taking the documents WHATWG were working on and changing them in ways the WHATWG still do not recognise to this day.

Back

What is style markup?

Front

Style indicates how the content should be presented to users. - Presentation format can vary (Large screen, handheld, speech, etc.) - CSS is the language used for style markup of Web documents

Back

What are entity references?

Front

It specifies a character by an HTML-defined name. Examples: For "<" use "&lt;", for "&" use "&amp;"

Back

Basic history of HTML

Front

Crucial part of the Web architecture designed by Berners-Lee - Non-proprietary, non-binary format HTML (1991) HTML 2.0 (1995) HTML 3.2 (1997) HTML 4.01 (1999) XHTML (200) HTML5 (2014)

Back

What is semantic markup?

Front

It is new to HTML5. They are elements that do not contribute to the content itself, but make it clearer for tools processing the content how to present it.

Back