Chapter 6 Quiz Flashcards
What is the difference between a frameset and a frame?
A frameset is a layout, frame is the content
The idea behind frames is that parts of a page can be fixed while other portions can be what?
scrollable
Frameset tag replaces what html tag?
body
What is the main difference between a frame-based and a table-based window?
Frame-based has different files displayed, while tables are one single file.
What tells the browser what content to put in a particular area?
frame tag
What tag defines how to divide the window?
frameset
Framesets define a set of what?
Frames/rows and columns
How is the asterisk used in a frameset?
it tells it to use the remaining space for a frame in a frameset
What attribute is used in the frame tag to specify the URL for the page?
src
Can framesets be combined?
Yes
How can you keep visitors from changing the size of your frames?
noresize=”noresize” or border=”0”
What does the border tag do?
It gives the frames borders dimensions to give them a view
What does the frameborder tag do?
It lets you choose to fill the space with a border or not
By, default, are borders displayed around frames?
yes-5 px wide
What attribute is used to change the color of the borders surrounding your frames?
border color
What attribute adjusts the space between the frame content and the top and bottom edges of the frame?
marginheight
To adjust the space between the left and right edges of the frame and the frame content, what attribute is used?
marginwidth
When do scroll bars appear in frames?
Only when necessary or if we set it to yes/no
How do control the appearance of the scroll bars?
scrolling=”no” or scrolling=”yes”
What is a target?
It tells the browser where to put the content
Why is it important to name your frames?
So it knows what frame to reference for that particular target
Without a specified target, a link will open where?
Wherever the link was placed originally
What is a base target?
Changes all the links to a default target for the link to one place
Where do you put the base target tag?
the head
What do you set target equal to in order to have a link open in a new blank window?
target=”_blank”
If target is set to _self, where will the link open?
Same frame as the link
How can you use the entire window for the link thus breaking out of frames?
target=”_top”
What tag do you use to offer visitors alternative content if their browser does not support frames?
noframes
Does the alternative content appear in browsers that support frames?
no
Name an advantage of using frames.
You can place other files inside of them, very dynamic and flexible; faster to upload
Name a disadvantage of using frames.
Not always supported by all platforms on the internet and is hard for search engines to index a page.