exam review module 7 Flashcards
HTML
Hypertext markup language
WYSIWYG editor
Microsoft word - what you see is what you get
paired tags
¥ Opening tags look like this:
¥ Closing tags look like this:
¥ These tags surround they content they affect (almost like quotation marks).
¥ Paired tags must be nested. ex:
This is proper: …………….
This is not proper:……………. (because is within and .
what is an example of a non paired tag
<hr></hr>
- for horizontal lines
tells the web browser that this is an HTML doc.
- not an HTML tag, but rather a larger standard that’s used to identify between different languages
you always start an HTML page with .
The header () section specifies extra info about the doc, but doesn’t specify the content.
The main web content is made up within the ().
This displays the name of the webpage in the title bar of a web browser.
what are the 5 tags that your HTML doc should contain
, , , ,
<p></p>
a paired tag
used to break paragraphs
adding whitespace
vertical space = <p>
</p>
<br></br>
line break
gives smaller vertical space between lines compared to <p>
</p>
add space between words
 
ex: bigspace.
gives:
This is an example of a big space.
special character
starts with an ampersand “&” and ends with a semi’colon
how do you display an Ampersand “&”
&
less than (because you can use angle brackets to display less than or greater than)
<
greater than (because you can use angle brackets to display less than or greater than)
>
header tags
<h1>, <h2> .... etc.
used to identify sections within a document </h2></h1>
attribute
contain additional information to control the behaviour of the tag.
syntax for attributes :
tagname attribute1=”value1” attribute2=“value2”>.
identify the attributes
Code line <img></img>
the img tag is used to insert an image
the src attribute is the filename
the width attribute specifies the width of the picture
the alt attribute is used to specify a description (for visually impaired)
the location of the images source can be in the same folder as the .html file
internal links
Just as with the src attribute in an image, the address of the link can be to another page in the same folder: <a>local file</a>
links within documents
<h2>Background Information</h2>
To link to this part of the page, specify as the href the target id with a preceding number sign (#):
<a>go to the background</a>.
You can even link to a specific element that appears on another page. For example:
<a>go to the historical background</a>.
email links
If you wish to provide a link to an email address, the href attribute is simply mailto:address.
For example:
Contact your <a>ISAs</a> with any questions. gives:
Contact your ISAs with any questions.
file extensions
HTML’s extension is .html
¥ You can open .html files from your computer and they will open up into the a web browser.
¥ You can also upload .html files to personal web spaces.
- for horizontal lines