Part 2 - The role of standards and the anatomy of basic web pages Flashcards

1
Q

describe the html attribute
Class=”value

A

an attribute that can be used by many items on a html page

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

describe the world wide web consortium (W3C)
one web mission

A

this mission aims to have all online services and data accessible to all devices and all people with the vision of richer interaction and security

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

what is
well formed XML

A

XML has strict rules when all rules are followed then this term describes that

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

describe the following html metadata
<.title>This is a XHTML1.0 Valid Strict Template</title.>

A

This gives the html document a title and will be displayed in the browser tab. Titles should be helpful for usability

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

used prior to html5 and mimics a HTTP respons header and can contain information:value such as:
* content-type
* content-security-policy

A

describe the
HTML <meta></meta> http-equiv Attribute

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

what is a
markup language

A

this combines text with markup (instructions)

example
html is formed of text and encloses markup in <> </> (tags)

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

these include:
principles
* web for all
* web on everything
vision
* web of trust
* web of data and services
* web for rich interaction

A

what 5 goals make up the world wide web consortium (W3C) one web

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

this mission aims to have all online services and data accessible to all devices and all people with the vision of richer interaction and security

A

describe the world wide web consortium (W3C)
one web mission

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

describe an adventageous use of the following HTML metadata
<.meta name=”keywords” content=””/>
<.meta name=”description” content=””/>

A

these two HTML metadata tags can be used to aid search engines when users search for content

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

these include
<.img>
<.hr> - horizontal rule. Often used to separte content or a change in subject
<.br> - line break

A

name three
html empty elements

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

what is a
HTML element

A

this is a component of a html document and is typically made up of
* start tag
* content
* end tag

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

in html5 how do we specify in the metadata the character set used in the document

A

in html 5 this is achieved by typing in the head
**<.meta charset=”utf-8”> **

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

name three
html empty elements

A

these include
<.img>
<.hr> - horizontal rule. Often used to separte content or a change in subject
<.br> - line break

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

this is a component of a html document and is typically made up of
* start tag
* content
* end tag

A

what is a
HTML element

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

what was important about the 1999 publishing of HTML 4.01 by The world wide web consortium (W3C)

A

when this was published it was acknowledged as the most stable version by establishing solid implementation models for consistency across browsers and user platforms

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

XML has strict rules when all rules are followed then this term describes that

A

what is
well formed XML

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

this combines text with markup (instructions)

example
html is formed of text and encloses markup in <> </> (tags)

A

what is a
markup language

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

how does the
Document-type definition (DTD)
typically begin

A

this will begin with
<!DOCTYPE>

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

an attribute that can be used by many items on a html page

A

describe the html attribute
Class=”value

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

what is a
HTML tag

A

this is HTML markup (instruction) and describes what an element is

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

can be used to organise code especially where parts of the page are self contained

A

describe the following html tags
<.section> <./section>

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

these include:
Web for all - meaning that the web is a place for all and is open and accessible without barriers such as language or demographic or location or ability dependence.

Web on everything - this highlights device independents and that content should be expected to be viewed mobile not just from a desktop pc

A

describe the two principles from the world wide web consortium (W3C) one web

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

how do you specify the
document-type declaration (DTD) in html5

A

this is acheived by typing at the start of the html document
<!doctype html>

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

why was the Extensible Markup Language (XML) created

A

this was created by the world wide web consortium (W3C) to overcome the demands from the web community that HTML could not deliver such as:
* representing chemical and mathematical notation

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

when this was published it was acknowledged as the most stable version by establishing solid implementation models for consistency across browsers and user platforms

A

what was important about the 1999 publishing of HTML 4.01 by The world wide web consortium (W3C)

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

an attribute that is used to uniquely identify an item in a html document

A

describe the html attribute
Id=”value

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

what 5 goals make up the world wide web consortium (W3C) one web

A

these include:
principles
* web for all
* web on everything
vision
* web of trust
* web of data and services
* web for rich interaction

28
Q

this will create a hyperlink to the given website or page using the text inserted between the anchor tags

A

describe the following html element
<.a href=”website/page”>hyperlink_text</.a>

29
Q

is a separate document that may be linked to a html document and provides style rules for the associated HTML document

A

describe what
Cascading Style Sheets (CSS)
is

30
Q

this identifies the part of your HTML document to which the style is applied.

A

describe the
selector
from the Cascading Style Sheets (CSS) syntax

31
Q

what is given in the head of a HTML document

A

within this part of a html document you will typically place metadata describing the document such as the character set used

32
Q

This gives the html document a title and will be displayed in the browser tab. Titles should be helpful for usability

A

describe the following html metadata
<.title>This is a XHTML1.0 Valid Strict Template</title.>

33
Q

this is a statement at the beggining of the HTML document and informs the browser of what standard it is coded to. this in turn aids the browser so that it knows how to correctly render the document

A

what is the
Document-type definition (DTD)

34
Q

within this part of a html document you will typically place metadata describing the document such as the character set used

A

what is given in the head of a HTML document

35
Q

this is a a property given to an html element and will hold a value

A

what is a html attribute

36
Q

the syntax for this is
selector {declaration}
Example
p {font-size: 12pt; color: red; font-family: “Courier New”;}

A

what is the syntax for
Cascading Style Sheets (CSS)

37
Q

what does the following html metadata describe
meta http-equiv=”Content-Type” content=”text/html; charset=utf-8”/>

A

this metadata informs the browser that the HTML document contains text that is written in html and uses the charcter set utf-8

38
Q

describe what
Cascading Style Sheets (CSS)
is

A

is a separate document that may be linked to a html document and provides style rules for the associated HTML document

39
Q

what is the
Document-type definition (DTD)

A

this is a statement at the beggining of the HTML document and informs the browser of what standard it is coded to. this in turn aids the browser so that it knows how to correctly render the document

40
Q

describe the following html tags
<.section> <./section>

A

can be used to organise code especially where parts of the page are self contained

41
Q

is contained within braces {} and will comprise of one or more property: value each terminated by a colon (;)

A

describe the
declaration
from the Cascading Style Sheets (CSS) syntax

42
Q

what is a html attribute

A

this is a a property given to an html element and will hold a value

43
Q

what was important about the 1998 publishing of HTML 4.0 by The world wide web consortium (W3C)

A

this absorbed many of the featires from netscape and internet exporer and helped to narrow the divergence of the HTML standard that had occured during the browser wars

44
Q

describe the three visions of the world wide web consortium (W3C) one web

A

these include
Web for rich interaction - this highlights that websites should not be static but personalised

Web of data and services - this is the promotion that the web is a repository for data and a place of services and that these shall be promoted through robust xml technologies

Web of trust - the promotion of openness, security, stability and accountability.

45
Q

this is HTML markup (instruction) and describes what an element is

A

what is a
HTML tag

46
Q

these two HTML metadata tags can be used to aid search engines when users search for content

A

describe an adventageous use of the following HTML metadata
<.meta name=”keywords” content=””/>
<.meta name=”description” content=””/>

47
Q

describe the html attribute
Id=”value

A

an attribute that is used to uniquely identify an item in a html document

48
Q

this was created by the world wide web consortium (W3C) to overcome the demands from the web community that HTML could not deliver such as:
* representing chemical and mathematical notation

A

why was the Extensible Markup Language (XML) created

49
Q

this will begin with
<!DOCTYPE>

A

how does the
Document-type definition (DTD)
typically begin

50
Q

what is the syntax for
Cascading Style Sheets (CSS)

A

the syntax for this is
selector {declaration}
Example
p {font-size: 12pt; color: red; font-family: “Courier New”;}

51
Q

this
1. creates a hyperlink to the file style.css
2. tells the browser that its relationship is a stylesheet
3. informs the browser that the type of data it contains is text written in css

A

describe the following html metadata
<.link href=”styles.css” rel=”stylesheet” type=”text/css”>

52
Q

this absorbed many of the featires from netscape and internet exporer and helped to narrow the divergence of the HTML standard that had occured during the browser wars

A

what was important about the 1998 publishing of HTML 4.0 by The world wide web consortium (W3C)

53
Q

this is acheived by typing at the start of the html document
<!doctype html>

A

how do you specify the
document-type declaration (DTD) in html5

54
Q

Empty elements in html are elements that cannot contain any nested elements or text. Within xhtml these are self closing
Within html5 closing is not required

A

what are html
empty elements
and the rules regarding
xhtml vs html5

55
Q

describe the following html metadata
<.link href=”styles.css” rel=”stylesheet” type=”text/css”>

A

this
1. creates a hyperlink to the file style.css
2. tells the browser that its relationship is a stylesheet
3. informs the browser that the type of data it contains is text written in css

56
Q

describe the
HTML <meta></meta> http-equiv Attribute

A

used prior to html5 and mimics a HTTP respons header and can contain information:value such as:
* content-type
* content-security-policy

57
Q

describe the following html element
<.img src=”value” alt=”value”>

A

this will embed an image into the html document using the source file given and will use alternative text when the image cannot be rendered or when a screen reader is in use

58
Q

what are html
empty elements
and the rules regarding
xhtml vs html5

A

Empty elements in html are elements that cannot contain any nested elements or text. Within xhtml these are self closing
Within html5 closing is not required

59
Q

describe the
selector
from the Cascading Style Sheets (CSS) syntax

A

this identifies the part of your HTML document to which the style is applied.

60
Q

in html 5 this is achieved by typing in the head
**<.meta charset=”utf-8”> **

A

in html5 how do we specify in the metadata the character set used in the document

61
Q

this will embed an image into the html document using the source file given and will use alternative text when the image cannot be rendered or when a screen reader is in use

A

describe the following html element
<.img src=”value” alt=”value”>

62
Q

this metadata informs the browser that the HTML document contains text that is written in html and uses the charcter set utf-8

A

what does the following html metadata describe
meta http-equiv=”Content-Type” content=”text/html; charset=utf-8”/>

63
Q

describe the following html element
<.a href=”website/page”>hyperlink_text</.a>

A

this will create a hyperlink to the given website or page using the text inserted between the anchor tags

64
Q

these include
Web for rich interaction - this highlights that websites should not be static but personalised

Web of data and services - this is the promotion that the web is a repository for data and a place of services and that these shall be promoted through robust xml technologies

Web of trust - the promotion of openness, security, stability and accountability.

A

describe the three visions of the world wide web consortium (W3C) one web

65
Q

describe the two principles from the world wide web consortium (W3C) one web

A

these include:
Web for all - meaning that the web is a place for all and is open and accessible without barriers such as language or demographic or location or ability dependence.

Web on everything - this highlights device independents and that content should be expected to be viewed mobile not just from a desktop pc

66
Q

describe the
declaration
from the Cascading Style Sheets (CSS) syntax

A

is contained within braces {} and will comprise of one or more property: value each terminated by a colon (;)