Week 2 - HTML Part 2 Flashcards
How many headings are there?
h1 to h6
p
Paragraph
br
Line Break.
An empty inline element with a single line break.
hr
Horizontal Rule.
An empty block level element which creates a divider.
em
Defines emphasised text (italics)
strong
Defines important text (bold)
dfn
Defines a definition term
Eg: A validator is a program that checks for syntax errors in code or documents
code
A block level element that defines a piece of computer code
samp
Defines a sample output from a computer program.
Eg: Error. Keyboard not found.
kbd
Defines keyboard code.
Eg: Ctrl + C = Copy (with borders around ctrl and c to make it look like keyboard input)
var
An inline element which defines a variable.
It is used in math calculations where A = l x w
sub
Subscript text.
Like in loge(5)
sup
Superscript text.
Like x^2
Relative Path
The path of a file/directory relative to where the user currently is.
Eg: ../../Documents
Absolute Path
The full path of a file/directory from the root directory.
Eg: C/Users/Jesh/Documents