• Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

Card Range To Study

through

image

Play button

image

Play button

image

Progress

1/21

Click to flip

Use LEFT and RIGHT arrow keys to navigate between flashcards;

Use UP and DOWN arrow keys to flip the card;

H to show hint;

A reads text to speech;

21 Cards in this Set

  • Front
  • Back
Which element would you use to link from one page to another? and whats the attribute?
you would use the anchor element

Tag: <a>
Attribute: href
ex: <a href=”elixir.html”>elixirs</a>
How would you specify the destination of a link in a Web page? Write the CSS.
<a href="mission.html"></a>

file: mission.html
What is displayed in the browser as the link, how is it highlighted...
the content of the <a> element is the label for the link

the link is underlined in the browser by default to indicate it can be clicked.
What can be used as a label for link in a Web page...
you can use:

text, or

an image
When you click on a link in a Web page, what does the browser load...
the Web page that's specified in the href attribute
When you link to files in folders, where can the files be located...
files can be in:

the same folder, or

other folders
What path type should you use to point to local files on your Web site...
a relative path
What path type should you use to point to external files that are not on your Web site...
an absolute path
How do you link to a parent folder...
use the ".." characters
How do you separate directories in your path...
use the "/" character
What happens if your path to an image is incorrect...
you'll see a broken image on your Web page
Which character(s) must be avoided when choosing names foe files and folders for your Web site...
space(s)
Why would you invest time at the planning stage of a Web site to organize folders of content...
to avoid as much as possible having to change bunches of paths later as the site grows
How should you organise a Web site...
it's pretty much a personal preference
What attribute do you use to specify the destination of the link in an <a> element?
href.
The attribute tells the browser the destination of the link
Example: <a href=”elixir.html”> link <a>
What does each attribute do?
1) < style type=”text/css”>
2) <a href=”irule.html”>
3) <img src=”sweetphoto.gif”>
1)The type attribute specifies which style language we’re using, in this case CSS.
2)The href attribute tells us the destination of a hyperlink.
3) The src attribute specifies the filename of the picture an img tag displays.
What is the root folder?
Its also called a top-level folder that holds all the files. This is often referred to as the “root” folder of the site.
How do you link UP into a “parent” folder
.. means up one folder.

<a href=”../lounge.html”>Back to the Lounge</a>
What do you do if you need to go up two folders instead of just one?
you’d type “../../lounge.html”>
What should I know about <img>
<img> element’s src attribute takes a relative path, just like the href attribute.

ex: <img src=”drinks.gif”>
1) What is the tag of an image and 2) how would you specify the image file? <img src=”sweetphoto.gif”>
1) Tag: <img>

2) Use the src=”sweetphoto.gif” attribute.