Introduction to HTML Flashcards
HTML
Hypertext Markup Language
Anatomia de html
- opening tag
- element
- closing tag
Body
the element of the webpage. only the elements inside the opening and closing body tags can be displayed
Headings
headings are used to describe content like a title, there are 6 different type of headings
Divs
division or a container that divides the page into sections
Attributes
are content added to the opening tag that can be used to provide information or change styling
Displaying text
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”
Styling text
“em” emphasizing text
“strong”highlights important text “/strong”“/em”
Line Breaks
modify space in the browser “br” like the enter of Microsoft word
Unordered List
“ul” to start the unordered list and “li” “/li” to list them”/ul”
Ordered Lists
“ol” “/ol” to start them (used for list lists) and “li” to add items on the list”/li”
Images
we use the tag img and we add the source
Image Alts
we use image alts to describe the image in the code(alt)
Videos
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
HTML setup
to declare that we will use a html