Fundamentals of HTML Flashcards
Headings tags are:
h1, h2, h3, h4, h5, h6 elements
What is div for and what it means?
div is short for division
div divides the page into sections
how to add a simple paragraph
using p element
what span is for
span separates text from other text on the same line
what em element is for
emphasises text - italic
what is strong element for
highlights important text - bold
what element is used to space a line
br element
what element is used to create a list with bullets
ul element
what element is used to create a numbered list
ol element
what element is used to add an item to a list
li element
what element is used to add an image
img element - self-closing tag + src attribute which contains the link to the image
what attribute is used to add an image alt
alt attribute
what element is used to add a video
video element with the attribute src value set to the link of the video
+ we can add width and height attributes
what attribute is used to add controls to a video
controls attribute
what HTML stands for
HypertTextMarkupLanguage
any visible content must be nested inside of what tags?
body tags
how to start any HTML file
declare !DOCTYPE html
what element is used to add the page title
title element
the title is going to show as the title of the tab on a modern computer
what element is used to link to other pages
a element
a element must contain a href attribute with the value of the link we are linking to