Introduction to HTML Flashcards

1
Q

HTML

A

Hypertext Markup Language

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

Anatomia de html

A
  • opening tag
  • element
  • closing tag
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Body

A

the element of the webpage. only the elements inside the opening and closing body tags can be displayed

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

Headings

A

headings are used to describe content like a title, there are 6 different type of headings

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

Divs

A

division or a container that divides the page into sections

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

Attributes

A

are content added to the opening tag that can be used to provide information or change styling

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

Displaying text

A

can use paragraph “p” or span “span”“/span”“/p”“p” is a block of raw text
“span” contains a short pieces of text or other html”/span”“/p”

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

Styling text

A

“em” emphasizing text

“strong”highlights important text “/strong”“/em”

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

Line Breaks

A

modify space in the browser “br” like the enter of Microsoft word

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

Unordered List

A

“ul” to start the unordered list and “li” “/li” to list them”/ul”

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

Ordered Lists

A

“ol” “/ol” to start them (used for list lists) and “li” to add items on the list”/li”

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

Images

A

we use the tag img and we add the source

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

Image Alts

A

we use image alts to describe the image in the code(alt)

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

Videos

A

addition of a video “src””” remember u have to add “width, height and controls” to the video. u have to remember to add “video not supported” to displayed if the browser didn’t support the video

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

HTML setup

A

to declare that we will use a html

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

HTML tag

A

to create the structure of the html document we add the opening and the closing tab of

17
Q

Page titles

A

the browser tab shows the title we use so we put a opening and closing tab of page titles (always inside of the head tag)

18
Q

Linking to other web pages

A

we use an opening and closing tab of “a” and a href=page to mark a text to a link we to anywhere on the web we want

19
Q

Opening a link in a new tab

A

we add “target=_blank” if we want to add a new opening tab with the link we mark

20
Q

Linking at the same page

A

that’s why we use divs to use an anchor with a ref=”#div” to link at the same page

21
Q

Forms

A

to create a from we have to add the opening and closing tab of this one

22
Q

Text input

A

The “input” element has a type attribute which determines how it renders on the web page and what kind of data it can accept

23
Q

Adding a Label

A

For a user to properly identify an “input” we use the appropriately named “label” element. to associate a label w an input we have to use for attribute.

24
Q

Number Input

A

in the forms we can add an number input by setting type=”number”

25
Q

Range Input

A

if we wanted to limit what numbers our users could type we might consider using a different type value. another option we could use is setting type to “range” and we have to add the attributes “min”“max”“step”

26
Q

Checkbox Input

A

in a from we would use the “input” element and set the type=”checkbox”

27
Q

Radio Button Input

A

in a from we would use the “input” element and set the type radio

28
Q

Dropdown list

A

to use a dropdown list we have to add an opening and closing tag of “select” and we have to create a tag of “option” for each option we want to have

28
Q

Dropdown list

A

to use a dropdown list we have to add an opening and closing tag of “select” and we have to create a tag of “option” for each option we want to have

29
Q

Datalist Input

A

even if we have an organized dropdown list, if the list has a lot of options, it could be tedious for users to scroll through the entire list to locate one option. thats where using the “datalist” element comes in handy

30
Q

Textarea element

A

where users need to write in more information, like a blog post in such cases, instead of using an “input”, we could use “textarea”

31
Q

Submit Form

A

to submit the form we have tod add the input type=”submit” value=”send”

32
Q

Requiring an Input

A

if we have a field that is not optional at the end of the tag input we have to add an attribute that is “required”

33
Q

Set a Minimum and Maximum

A

to set a minimum acceptable value we add the attribute “min” and to set a maximum acceptable value we add the attribute “max”

34
Q

Checking Text Length

A

to set a minimum number of character for a text field we add “minlength” and the same way to set a maximum we add “maxlength”