HTML Flashcards

1
Q

A website is comprised of multiple ____ that form together to create functionality, style, and structure

A

Tags

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

What does the tag do?

A

Tells browser the type of document

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

What does the tag do?

A

Tells browser that I’m about to make a website and everything in between goes in

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

What is the head of the website?

A

All the keywords, background functionality. Technical stuff

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

What is the body of the website?

A

Pictures, things you see. Cool stuff

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

What does HTML stand for?

A

Hyper Text Markup Language

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

Why is index when saving html files important?

A

index indicates the homepage

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

XTML is white ____

A

XTML is white space insensitive

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

What is the tag for a paragraph?

A

<p> </p>

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

What is the tag for a line break?

A

<br></br>

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

Anytime you have a single tag, what is the syntax?

A

Note: Forward slash after keyword with a space

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

What is a horizontal rule and how do you code it?

A

A horizontal line, like a separator. <hr>

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

How do you bold?

A

<strong></strong>

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

How do you do italics?

A

<em></em>

Note: em stands for emphasize

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

How do you make comments in your coding for html?

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

What is the tag for links?

A

<a></a>

Note: a stands for anchor

17
Q

How do you add attributes to a tag?

A

After the opening keyword for a tag, you then write the attributes name, set it equal to “”

< a href=””>

18
Q

List the steps to link within a webpage (i.e., TOC linking)

A

1) Identify target section and add <a></a>

2) Link using <a></a>

19
Q

Email

A

<a></a>

20
Q

How do you create a tooltip in html?

A

In the anchor to a link, you need to add the attribute title

Example: title = “Awesome Search Engine”;

21
Q

What are crucial things to remember about images?

A

1) Same folder as webpage
2) src = “”
3) Exact file name including type… ONLY ONE TAG
<img></img>

22
Q

What is the tag to create a table? How do you add rows? How do you add columns? Table header?

A

INSIDE you put

header:

Note: Table data can contain any data types

23
Q

What is colspaning? What are the two types of width attributes?

A

Column Spanning (merge and sort)

width = “%” or “#px”;

24
Q

What is table cellpadding? What is cellspacing?

A

Putting types of ‘pads’ around your cells to give it spacing against the border. Cellspacing is actually spacing and putting white space between the individual cells.

25
Q

What is <ul></ul> and <li>? What is <ol></ol>

A

Unordered list with a list item.

Ordered list that uses numbers instead of bullets.

26
Q

XHTML does what to a website?

A

Makes the structure of the website: Images, headings, paragraphs, texts

27
Q

Why are div and span significant?

A

Span and div signify no specific meaning besides the generic grouping of content and area. Creating an organization or stylistic additions without signifying superfluous meaning.

28
Q

Explain the <div> tag</div>

A

Divs define the logical sections of a document and should be used sparingly under other circumstances. Ideally, div tags are used to group a number of elements that are meaningful together. They are used for layout purposes. Use them for styling purposes only when absolutely necessary.

29
Q

Explain the <span> tag</span>

A

Span tag is often used for small bits of text inside paragraphs. Spans are inline elements only intended for small bits of information.

30
Q

Free Debugger?

A

the W3C markup validation service

31
Q

ID Attribute

A

Identifies your element for the front-end (CSS and JS). It can be used on ANY element.

32
Q

Name Attribute

A

The name attriute belongs ONLY on form elements and is used in the back-end to identify your values