SLR 12 - Web Technologies Flashcards
1
Q
What does HTML stand for?
A
- Hyper Text Markup Language
2
Q
How is HTML code made up?
A
- Made from elements represented by <> tags
- They can have attributes that provide additional information about the elements
3
Q
What does the <html> tag do?
A
- Contains all HTML elements, must be at the start and end of HTML files
4
Q
What do the <head> and <body> tags do?
A
- Allow you to write a heading or body respectively
5
Q
What does the <title> tag do?</title>
A
- Allows you to write a title inserted where the top of the tab is shown
6
Q
What do the <h1> <h2> <h3>…. and <p> tags do?
A
- The h tags display large text descending in font size as h number decreases
- The p tag displays smaller text
7
Q
What does the <img></img> tag do?
A
- Allows you to create a link to an image using the src attribute (specifies the file path of the image) and the alt attribute (specifies an alternate path for the image if it doesn’t load)
- It also takes the height and width attributes to specify the height and width shock horror
8
Q
What does the <a> tag do?</a>
A
- Defines a hyperlink which takes the attribute href defining the link
9
Q
What do the <ol>, <ul> and <li> tags do
A
- <ol> and <ul> make ordered and unordered lists respectively
</ul></ol> - the <li> tag defines the items in each of the list
10
Q
A