Frames
HTML frames are great for making a complex site more compact, because they can display multiple pages in the same browser window. Frames start with a frameset element, indicating that the left frame takes up to 40 percent of the window horizontally and the frame at the right takes up 60 percent of the window horizontally.
<html>
<head>
<title>
targeted frames
</title>
</head>
<frameset cols
= 40%, 60%">
.
.
.
</frameset>
The frame at the right will be filled with the hyperlinks you see.
Lesson 1
HTML stands for “Hypertext Markup Language” and the “markup” part of that refers to everything in angle brackets (< and >). That markup gives directions to the browser on how you want to display the web page. For example, you use the b elementto indicate that the text should be bold, like this: This text is bold! . An element consists of an opening tag, here, and a closing tag, .
Elements can contain other elements (child elements) inside their opening and closing tags, and may also have attributes, which are given in name=value pairs in an element’s opening tag. Technically you don’t have to enclose attribute values in quatation marks to let your HTML be read by the World Wide Consortium (W3C).
HTML Commands
… – marks the opening and closing of an HTML document.
… – creates the head of an HTML document … – creates the body of an HTML document – indicates a relationship to other documents (and unlike anchors, cannot indicate relationships to parts of documents)– to specify metacontent or information about the document
– to select a title that will appear in the title bars of browser windows and to indicate to search engines the title of the site.
