01What are the three types of lists in HTML, and when would you use each?
Unordered lists (<UL>) for items with no particular order, ordered lists (<OL>) for items in a sequence, and definition lists (<DL>) for pairing terms with their definitions.
02What is the difference between internal and external linking?
Internal linking jumps to a named anchor within the same document, using the Name attribute and a Href value starting with #. External linking points to a different page or site via its URL.
03What's the difference between an absolute and a relative URL?
An absolute URL names a specific full address on the web. A relative URL gives just a filename, resolved relative to the current document's own location.
04How do you create an e-mail hyperlink?
Set the Href attribute of the <A> tag to mailto: followed by the e-mail address, e.g. Href="mailto:someone@example.com" — clicking it opens the visitor's mail client with that address pre-filled.
05What is the difference between the <EMBED> and <BGSOUND> tags?
<EMBED> inserts a visible media player (audio or video) into the page. <BGSOUND> plays background audio automatically with no visible controls.
06Name the tags associated with <TABLE> and their purpose.
<TR> creates a row, <TH> a heading cell (bold, centred), <TD> a data cell, and <CAPTION> adds a heading for the whole table.
07What do the Colspan and Rowspan attributes do?
Colspan stretches a table cell across multiple columns; Rowspan stretches a cell down multiple rows.
08What is a frameset, and which tags create one?
A frameset divides the browser window into independently loaded panes. <FRAMESET> defines the layout (via Rows or Cols), and each <FRAME> tag loads one HTML page into a pane.
09How do you target a link to load into a specific frame?
Give the destination frame a Name in its <FRAME> tag, then set the Target attribute of the <A> tag to that same name.
10Why was <FRAMESET> dropped in HTML5?
Framesets broke the browser's back button, made bookmarking and printing difficult, and were hard for search engines to index — CSS-based layout replaced the need for them.
11What is the difference between the Action and Method attributes of <FORM>?
Action specifies the URL of the server-side program that will process the submitted data. Method specifies the HTTP method used to send it — Get or Post.
12How does a radio button differ from a checkbox?
Radio buttons sharing the same Name value are mutually exclusive — selecting one deselects the others. Checkboxes are independent, so any number can be checked at once.
13What is the purpose of the <FIELDSET> and <LEGEND> tags?
<FIELDSET> groups related form controls into a labelled subsection, and <LEGEND> provides the caption text for that group.
14What happens when a Submit button is clicked?
The browser collects the values of every named control in the form and sends them to the URL specified in the form's Action attribute, using the chosen Method, for a server-side program to process.