Website Basics Flashcards
Create a minimal website
What code must every website carry?
What is a web page?
A plain text file that contains HTML tags and has a filename extension .htm or .html
What is the HTML code for boldface?
<strong></strong>
What is the HTML code for italic?
<em></em>
How do I add a headline to a webpage?
<h1>text</h1>
(or h2 etc. for smaller headlines) inside the pair of body codes
How do I add a block of text to a webpage?
<p>text</p>
after the h1 pair, if they are there at all, and regardless of that, inside the pair of body codes.
How do I add a bulleted list of items to a webpage?
<ul></ul>
as the pair of codes to create the list, placed within the pair of body codes. Then each list item or line of list items is placed, surrounded by <li>list item</li> within the Unordered List pair.
How do I add a numbered list of items to a webpage?
<ol></ol>
as the pair of codes to create the list, placed within the pair of body codes. Then each list item or line of list items is placed, surrounded by <li>list item</li> within the Ordered List pair.
How do I place a special symbol on a page?
Each character is typed with an asterisk, plus a name or # and a hexadecimal code, followed by a semicolon. A copyright sign can be typed as © or ©
What two pieces of information are needed to place a link on a website page?
The target, or the page that should open when the user clicks the link, and the text of the link the user will click.
How do I type the link text on a website page?
<a>Text for the link</a> within the pair of body codes
How do I type the URL for the link text on a website page?
Within the <a> pair, and before the text of the link that will be highlighted, type href=</a>
What four things does the target of a website page link need?
The code href, an equal sign, quotation marks around the URL, and a less-than angle bracket after the closing quotation marks.
Does href need angle brackets?
No.
Where do I place an href to code the target of a link?
Inside the pair of <a> codes that signal you are creating a link, and ahead of the text the user will click on to reach that URL.</a>