Summer Assessment Revision Flashcards
What does HTML stand for?
Hyper Text Markup Language
What does the following HTML Tag do?
<a href = "https://www.whitchurchhs.wales/"> WHS! </a>
It creates hyperlink to the Whitchurch High School website. The text on the page will say “WHS!”
What HTML tag aligns an element centrally on the web page.
<center>
What does the <b>
tag do?
Sets text to appear bold on the screen.
What tags allow you to set headings of various sizes?
<h1>
- Biggest heading<h2>
<h3>
<h4>
<h5>
<h6>
- Smallest heading
What does the following HTML tag do?
<img src = "cat.jpeg">
Makes an image file called “cat.jpeg” appear in the page.
How can you add alternate text to an image tag?
<img src = "cat.jpeg" alt = "A cat">
What do the <ul>
tags do?
Create an unordered list on the web page. An unordered list looks like a set of bullet points.
What does the HTML tag <ol>
do?
Creates an ordered list on a web page. An ordered list looks like a numbered list.
What is the purpose of the <title>
html tag?
The <title>
HTML tag goes in the <head>
section of the HTML file. The title tags set the text to be displayed in the browser tab.
How do you emphasise text using HTML?
<em>
Tags inside the <em>
tags will appear as italics
What does CSS Stand for and what is its purpose?
Cascading Style Sheets
A CSS file controls the appearance of the website. It can set colours and various other styles.
What does a <table>
HTML tag do?
The <table>
tag creates a table. You can add rows to the table by using <tr>
tags and add data by using <td>
.
How would you set up a CSS rule to change the colour of all the paragraph <p>
text in a document to red
p { color: red; }
This CSS Rule would make all text between <p>
tags red.
How do you set the background colour of a webpage using CSS rules?
body {background-color: green;}
The body tag contains all visible parts of the webpage.
Write a CSS rule to set all <h1>
tags to the colour blue and aligned in the centre
h1 {color: blue;
text-align: center;
}