8 Extra Markup Flashcards

1
Q

Tell the browser what version of HTML it is

A

&lt!DOCTYPE html>

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

Add html comments

A

&lt!– commen –>

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

Make an attribute referable

A

id=””

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

Make a group of elements referable

A

class=””

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

Create a generic block element

A

&ltdiv>

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

Create a generic inline element

A

&ltspan>

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

Have a box that peaks into another page (an key attributes)

A
&ltiframe> &lt/iframe>
src
height
width
scrolling (to define where it will have sidebars. Not in HTML 5)
frameborder
seamless
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What does &ltmeta> do?

A

contains information about that web page such as:
description- used by search engines to understand a page
keywords- doesn’t matter anymore
robots- defines whether this page should be searchable
author-
pragma- prevents caching
expires- defines when it should no longer be cached

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