HTML, CSS, and JavaScript Flashcards

1
Q

What does <!DOCTYPE html> do?

A

It defines the document type and version of HTML

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

What is the <html> tag?

A

It is the root element of an HTML document

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

What is <head>?

A

Contains meta-information about the document, such as its title and links fo stylesheets and scripts.

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

What does <title> do?</title>

A

Sets the title of the document, shown in the browser’s title bar or tab.

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

What does <meta></meta> do?

A

Provides metadata such as character set, description, and keywords

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

What does <link></link> do?

A

Links external resources like stylesheets

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

What does

 do?
A

Embeds or links to Javascript code

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

What does <style> do?</style>

A

It embeds internal CSS styles within the document.

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

What does <body> do?

A

It contains the content of the document.

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

What is the <h#> tag?

A

It defines headings with # being the level of the heading

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

What does <p> do?

A

It defines a paragraph

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

What does <br></br> do?

A

It inserts a line break

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

What does <hr> do?

A

It inserts a horizontal line

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

What does <b> do?</b>

A

It defines bold text

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

What does <i> do?</i>

A

It defines italic text

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

What does <u> do?</u>

A

It defines underlined text

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

What does <a> do?</a>

A

It defines a hyperlink

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

What does <img></img> do?

A

It embeds an image

19
Q

What does <ul> do?

A

It defines an unordered list

20
Q

What does <ol> do?

A

It defines an ordered list

21
Q

What does <li> do?

A

It defines a listed item

22
Q

What does <table> do?

A

It defines a table

23
Q

What does <tr> do?

A

It defines a table row

24
Q

What does <td> do?

A

It defines a table data cell

25
Q

What does <form> do?

A

It defines an HTML form for user input

26
Q

What does <input></input> do?

A

It defines an input control

27
Q

What does <label> do?</label>

A

It defines a label for an <input></input> element

28
Q

What does <button> do?</button>

A

It defines a clickable button

29
Q

What does <header> do?

A

It defines a header for a document or section

30
Q

What does <footer> do?

A

It defines a footer for a document or section

31
Q

What does a code in the 300s mean on a website?

A

Redirect

32
Q

What does a code in the 400s indicate on the web?

A

Server error

33
Q

What does a code in the 500s mean on the web?

A

Seg fault

34
Q

What does HTML stand for?

A

Hyper Text Markup Language

35
Q

What does CSS stand for?

A

Cascading Style Sheets

36
Q

What does IP stand for?

A

Internet Protocol

37
Q

What is the format for IP addresses?

A

w.x.y.z with each variable standing for a non-negative integer in the range [0, 255]

38
Q

What does TCP stand for?

A

Transmission Control Protocol

39
Q

What does HTTP stand for?

A

Hyper Text Transfer Protocol

40
Q

How do you write a comment in HTML?

A

<!—…—>

41
Q

What is the html tag for?

A

It shows the boundary for HTML programming

42
Q

Can a button be a link in HTML

A

Yes

43
Q

What does DOM stand for?

A

Document Object Model

44
Q

What is jQuery?

A

The Javascript library