1.3.4 Web Technologies Flashcards
1
Q
What is HTML?
A
- HTML is the language/script that web pages are written in.
2
Q
What does the command do:
<html>
</html>
A
- All code written within these tags is interpreted as HTML
3
Q
What does the command do:
<body>
</body>
A
- Defines the content in the main content area of the webpage
4
Q
What does the command do:
<link></link>
A
- Used to link to additional files, including CSS stylesheets
5
Q
What does the command do:
<head>
</head>
A
- Defines the browser tab or window heading area
6
Q
What does the command do:
<title>
</title>
A
- Defines the text that appears with the tab or window heading area
7
Q
What does the command do:
<h1>,<h2>,<h3>
</h3></h2></h1>
A
- Heading styles in decreasing sizes
8
Q
What does the command do:
<p>
</p>
A
- Used to define a paragraph separated with a line space above and below
9
Q
What does the command do:
<img></img>
A
- Is used for images. This is a self-closing tag, which means that there is no need to include a closing tag (</img,>) when using it
10
Q
What does the command do:
<a></a>
A
- Is an anchor tag that defines a hyperlink with the location parameter, and is laid out in
the following form:
a href= location> link text </a
11
Q
What does the command do:
<ul>
</ul>
A
- Defines an unordered list. Again, each element within the list is defined using the <li tag.
12
Q
What does the command do:
<ol>
</ol>
A
- Is used to define an ordered list. Each element within the list is defined using the <li
tag.
13
Q
What does the command do:
<div>
</div>
A
- Divides a page into separate areas, each which can be referred to uniquely by name.
14
Q
What is a class?
A
- Attribute given to elements which you want to be styled a ceratin way
- Can be assigned to multiple elements
- Assigned by using class = “xxxxxxxxxxx”
- Defined by .className { styling }
15
Q
What is an identifier?
A
- Attribute given to elements which you want to be styled a ceratin way
- Can be assigned to a single element
- Assigned using id = “xxxxxxx”
- Defined using #idname { styling}