HTML Basics Flashcards

(22 cards)

1
Q

HTML

A

Hypertext Markup Language, defines content through markup, currently HTML 5

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

CSS

A

Cascading Style Sheets, controls visual appearance of HTML

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

TEI

A

Text Encoding Initiative, diff language designed for marking up texts in the humanities etc

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

EAD

A

Encoded Archival Description, a diff language for finding aids

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

JavaScript

A

Changes the document in response to specific events (changes features, write script for it)

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

Web editors/Content Management Systems

A

Pros: Faster, fewer typing errors, don’t need to understand HTML

Cons: Understanding of HTML not required, need to learn application

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

Elements

A

<tag> Content </tag>

OR <p> this is a paragraph </p>

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

Elements inside Elements

A

<p> this paragraph is <em> emphasized</em> yeah. </p>

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

<head>
</head>

A

Contains data about document, but not displayed on the webpage. Must include <title> element which shows title up top. May also contain <meta></meta> and <link></link> elements.</title>

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

<body>
</body>

A

all document content goes inside the <body> which is displayed to the viewer. All body content should be marked up.

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

<p>
</p>

A

paragraph

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

<h1> , <h2>
</h2></h1>

A

1st level heading (big), 2nd level heading (smaller, etc)

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

<ol>
</ol>

A

ordered list

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

<ul>
</ul>

A

unordered list

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

<li>
</li>

A

list item

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

<em></em>

A

emphasized text

17
Q

<strong></strong>

A

important element

18
Q

Nested Elements

A

<a> <b> </b> <a> OR <a> <b> </b> <c> </c> </a> BUT NEVER <a> <b> </a> </b></a></a></a>

19
Q

Case sensitivity

A

use all lowercase for HTML

20
Q

Attributes & Values

A

<tag> content </tag>

. For example, <a> link </a>

21
Q

!DOCTYPE

A

Must appear as first line of document, tells browser what form of HTML document is written in. Example, <!DOCTYPE html>

22
Q

Adding Comments

A

<!--comments blah blah blah--->

Browsers ignore comments, but useful for other coders to explain info