chapter 16--the World Wide Web Flashcards
True/False. Most search engines use a context-based approach for finding candidate pages
False, although they are moving in that direction
True/False. a cookie is a program that is executed on your computer
false
True/False. All elements associated with a particular webpage are brought over when a request for that webpage is made.
True
Define Java applet.
a small program designed to be embedded into an HTML format.
name and define URL.
Uniform Resource Locator. the web address, it is the standard way of uniquely identifying every webpage. Includes the hostname of the computer where the webpage is stored, as well as the domain name and the top-level domain name.
define JSP scriptlet.
a small piece of executable code imbedded in a webpage that can pull dynamic content from a constantly-changing database. Useful for webpages that have content that changes many times daily.
Name and define HTML. Are tags fixed in HTML?
Hypertext Markup Language. The basic language of the Web. Tags are fixed, unlike XML.
Name and define XML and DTD.
Extensible markup language. A more powerful web language that has more versatility than HTML. It allows the user to define the content of a document using a Document Type Definition. It is a metalanguage.
What is a tag in HTML?
the syntactic element in a markup language that indicates how information should be displayed.
What is a markup language? Where does that name come from?
The basic type of language used for webpages. It refers to a language that uses tags to annotate the information in a document. In HTML the tags note how the infro will be desplayed
What is a hortizontal rule, and what is it used for?
It is a solid horizontal line on a webpage, useful for separating portions of the page from each other.
Name 5 formatting specifications that can be established using HTML tags.
bold, underline, italics, new paragraph, centering
what is a tag attribute? give 1 example
part of a tag that provides additional information about the element. The attribute name in an image tag would be SRC, or HREF for a link tag.
write the HTML statement that inputs the image on file mine.gif.
<img></img>
Write the HTML statement that sets up a link to http://cs.utexas.edu/users/ndale/ and shows the text “Dale Home Page” on the screen.
<a> Dale Home Page</a>
How do you embed a Java applet in an HTML doc?
What kinds of restrictions are put on Java applets? Why?
they cannot access any locals files or change any system settings. this is to protect security
Where is a Java applet executed?
on the end-user’s machine, in the browser
What is a Java Server Page?
A page that has dynamic content that is pulled from a database when you view the webpage, using JSP scriptlets.
What is a scriptlet?
A small piece of code in an HTML doc that pulls dynamic content from a database whenever someone views the page
How do you embed a scriptlet in an HTML doc?
the percent sign tags
how does JSP processing differ from applet processing?
applets are executed on the user’s machine. JSP pull dynamic content from a database whenever the page is viewed.