HTML, CSS, JavaScript Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

WHat tag defines a comment in HTML

A

<!— example comment —>

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

How to specify the document type in HTML

A

<!DOCTYPE html>
(must be the first line, has no closing tag)

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

What tag represents a hyperlink in HTML

A

<a href=“http://www.ExamplePage.net”>Link Text</a>

href indicates the link’s destination

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

which element contains all the contents of an HTML document

A

<body>(content)</body>

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

How to write a link break in HTML

A

<br></br>

(no closing tag)

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

which element in HTML is usually used with CSS to lay out a web page into sections

A

<div>
</div>

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

how to write a heading in HTML

A

<h1> </h1>

to <h6> </h6>

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

what is the container for all the “head” elements in HTML

A

<head> </head>

Must include a title for the document and can include styles and scripts

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

How to draw horizontal line in HTML

A

<hl>
</hl>

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

How to bookend a HTML document

A

<html>
</html>

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

how to place an image into a html document

A

<img></img>

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

How to write a paragraph into a html document

A

<p> </p>

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

how to specify the title of a document

A

<title>Example Title</title>

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