Introduction to HTML Flashcards

1
Q

HTML: Definition

A

HyperText Markup Language

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

File Structure

A

Symbolizes that the file is HTML5

Everything contained in the tags, will be html code

Holds information about the webpage

Tells the browser how to display the html web page
charset=
utf-8
name=”description”
Brief description of the web page, that tells search engines how to display the page hyperlink

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

Tags [1/2]

A

Header

h1,h2,h3,h4,h5,h6
Line Break
<br>
White space
Horizontal Rule
<hr>
Horizontal Line
Paragraph
<p>
Goes into a new line
Italicize
<em> vs <i>
Use em over i, as i is just for style, but em conveys more information to the user as well as to the browser
Emphasis
<em>
Puts an emphasis on the tag
Italicize
<i>
Styles the text
Bold
<strong> vs <b>
Use strong over b, as it highlights an added importance
Lists
Ordered List
Numbers
</b></strong></i></em></i></em></p><ol><em><i><em><i><strong><b>
Unordered List
Bullet points
<ul>
Image
<img>
src=
Can be a URL to another source where image is on the internet
Can be a local file in the path of the page directory
alt=
Alternative, if src fails to obtain an image to render to the page

</ul></b></strong></i></em></i></em></ol>

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

Tags [2/2]

A
HyperLink
Anchor
<a>
href=
URL to link to
download
Downloads the contents of the URL
Table

Table Head

Table Body

Table Footer

Table Row
</a>

Table Data

Table header cell
Forms

Labels

Inputs

email
color
password
checkbox
date
range
radio
...
How well did you know this?
1
Not at all
2
3
4
5
Perfectly