Professional Documents
Culture Documents
Examination Paper
Ⅲ. Nomenclature explanation ( 5 x 3 )
(1) Domain Name Server
Domain Name Servers (DNS) are the Internet's equivalent of a phone book. They
maintain a directory of domain names and translate them to Internet Protocol (IP)
addresses.
This is necessary because, although domain names are easy for people to remember,
computers or machines, access websites based on IP addresses.
(5) CSS
CSS stands for Cascading Style Sheets with an emphasis placed on “Style.” While
HTML is used to structure a web document (defining things like headlines and
paragraphs, and allowing you to embed images, video, and other media), CSS comes
through and specifies your document’s style—page layouts, colors, and fonts are all
determined with CSS. Think of HTML as the foundation (every house has one), and
CSS as the aesthetic choices (there’s a big difference between a Victorian mansion and
a mid-century modern home).
Ⅳ. Question ( 3x5 )
(1) What is Frames ? How to use Frames ?
HTML frames are used to divide your browser window into multiple sections where each
section can load a separate HTML document. A collection of frames in the browser window is
known as a frameset. The window is divided into frames in a similar way the tables are
organized: into rows and columns.
To use frames on a page we use <frameset> tag instead of <body> tag. The <frameset> tag
defines, how to divide the window into frames. The row sattribute of <frameset> tag defines
horizontal frames and cols attribute defines vertical frames. Each frame is indicated by
<frame> tag and it defines which HTML document shall open into the frame.
- Mouse event
The MouseEvent interface represents events that occur due to the user interacting
with a pointing device (such as a mouse). Common events using this interface
include click, dblclick, mouseup, mousedown.
MouseEvent derives from UIEvent, which in turn derives from Event. Though the
MouseEvent.initMouseEvent() method is kept for backward compatibility, creating
of a MouseEvent object should be done using the MouseEvent() constructor.
Several more specific events are based on MouseEvent, including WheelEvent and
DragEvent.
- Keyboard event
KeyboardEvent objects describe a user interaction with the keyboard; each event
describes a single interaction between the user and a key (or combination of a key
with modifier keys) on the keyboard. The event type (keydown, keypress, or
keyup) identifies what kind of keyboard activity occurred.
Note: KeyboardEvent events just indicate what interaction the user had with a key
on the keyboard at a low level, providing no contextual meaning to that interaction.
When you need to handle text input, use the input event instead. Keyboard events
may not be fired if the user is using an alternate means of entering text, such as a
handwriting system on a tablet or graphics tablet.
(3) What is an image map? How is it useful ? Where is an image map place in an HTML
file ?
An image map is an image with active areas that, when clicked, lead to designated URLs.
For example, you may use a picture of a number of products, a county map of a state, or a
group picture of classmates to make an image map.
Use image maps when the information you need to convey is better presented visually than
in text. The best use of an image map is for, well, a map. Maps convey a large amount of
information in a small space, and image maps serve to make them more interactive.
The image map code is placed within the head element and associated with an inline image
with the usemap attribute of the img element.