1.3.4: Web Technologies Flashcards
1
Q
What does the tag <html> mean?
A
- All code written within the tags is interpreted as HTML
2
Q
What does the tag <body> do?
A
- Defines the content in the main content area of the webpage
3
Q
What does the tag <link></link> used for?
A
- Linking additional files, including CSS stylesheets
4
Q
What does the tag <head> do?
A
- Defines the browser tab or window heading area
5
Q
What does the tag <title> do?</title>
A
- Defines the text that appears with the tab or window heading area
6
Q
What are the tags <h1> <h2> <h3>?
A
- Heading styles in decreasing sizes
7
Q
What does the tag <p> do?
A
- Defines a paragraph separated with a line space above and below
8
Q
What is the tag <img src=”source”, height=x, width=y> used for?
A
- Images
- Self closing tag: No need to include </img> when in use
9
Q
What is the tag <a>?</a>
A
- An anchor tag that defines a hyperlink with the location parameter
- Laid out in the following form:
<a> link text </a>
10
Q
When is the tag <ol> used?
A
- To define an ordered list
11
Q
When is the tag <li> used?
A
- To define each element within the (Ordered or Unordered) list
12
Q
When is the tag <ul> used?
A
- To define an unordered list (Bullet points)
13
Q
When is the tag <div> used?
A
- To divide the page into separate areas, each of which can be referred to uniquely by name
- <div>
</div>
14
Q
What are Classes and Identifiers?
A
- Attributes given to elements on a webpage which you wish to style in a particular way
15
Q
What is the syntax that CSS has to follow?
A
body
{
margin: 0px;
padding: 0px;
background-colour: white;
font-family: Arial, Helvetic, sans-serif;
font-size: 18px;
Text-align: center;
}