HTML Flashcards

1
Q

What does HTML stand for?

A

Hypertext markup language

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

What kind of language is it? What does it describe

A

language or script in which webpages are written in. It describes the content and structure of a webpage, so that a browser is able to interpret it and render it for viewer.

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

What is this language often used in conjunction with?

A

CSS and JavaScript

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

What does the opening tag define?

A

The type of element

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

What does 1 element of HTML consist of?

A

opening and closing tag

content

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

What does 1 element of HTML define

A

content and structure

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

What does each opening tag must have ?

A

a closing partner

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

What tags do we use to show all lines between are html code?

A
  • without it browser may interpret the code incorrectly
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

what is

A

this statement provides browser with 2 pieces of information - the type of document and html version to be expected

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

What are the 2 sections of standard webpage?

A

a header and a body

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

What is the used for?

A

contains information about the page, browser tab and window heading area (title) and a link to CSS file if applicable

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

What is the tag for?

A

To contain and define content to show up on the page

images, videos, text etc.

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

How to give a title to a page?

A

sanfcbcbcjnnd

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

What are the 3 heading types and their tags?

A

heading type 1 <h1>
heading type 2 <h2>
heading type 3 <h3>
all the way up to 6, the size decreases</h3></h2></h1>

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

What is the tag to add a paragraph?

A

<p></p>

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

What is the tag used to add a hyperlink?

A

an anchor tag

<a>RAW TEXT</a>

17
Q

What is the tag used for ordered and unordered lists?

A

<ol> --------- ordered list (numbered)

| </ol>

<ul> ---------- unordered lists (bullet points)</ul>

18
Q

how to add an element to any list?

A

<li> RAW TEXT </li>

in between the list tags

19
Q

What does <strong> do?</strong>

A

Makes the text bold

20
Q

What does <em> do?</em>

A

Makes the text italic

21
Q

What is the <div> tag for?</div>

A

separating the body of the web page into sections, each can be named using an id = ‘x’ attribute

22
Q

How to do we link a html file to a css file?

A

using a tag into the section of script.

23
Q

How to add a video to a webpage?

A

RAW TEXT

24
Q

What is <br></br> and does it have a closing tag?

A

a line breaker and NO

25
Q

How to add an image to a html file?

A

<img></img>

- NOTICE THE LACK OF A CLOSING TAG

26
Q

What is the alt tag attribute in the <img></img> tag used for?

A

An alternative text if an image cannot be displayed

27
Q

What is <span>?</span>

A

Small piece of text which is separated from the rest