Open a window in the framework
You do not need to open a complete browser window. The more common way to use target is to direct the hyperlink content to one or more frameworks in a <frameset> display. You can put the content list in one of the frameworks of a document with two frameworks, and use this adjacent framework to display the selected documents:
<Frameset cols = "100, *"> <frame src = "toc.html"> <frame src = "pref.html" name = "view_frame"> </frameset>
When the browser first displays the two frameworks, the framework on the left contains the directory, and the framework on the right contains the preface.
This is the source code of "toc.html:
<H3> Table of Contents
Note that in the document "toc.html", the target of each link is "view_frame", that is, the framework on the right.
When you select a link from the left-side frame directory, the browser loads the associated document and displays it in the "view_frame" frame on the right. When other links are selected, the content in the framework on the right also changes, while the framework on the left remains unchanged.
Special goals
Four reserved target names are used as special document redirection operations:
_ Blank
The browser always loads the target document in a new and untitled window.
_ Self
The <a> label of this target value is the default target for all unspecified targets, so that the target document is loaded and displayed in the same framework or window as the source document. This goal is redundant and unnecessary unless used together with the target attribute in the document title <base> tag.
_ Parent
Load the page in the parent window.
This object enables the document to be loaded into the parent window or contains the framework set of the Framework referenced by the hyperlink. If the reference is in a window or in a top-level framework, it is equivalent to the target _ self.
_ Top
This object causes the document to load the window containing this hyperlink. The _ top object will clear all contained frameworks and load the document into the entire browser window.
Tip:All four values of these targets start with an underscore. Any window or target starting with an underscore is ignored by the browser. Therefore, do not use the underscore as the first character of any framework name or id defined in the document.
3.
<Br> it works the same as <br/>, but the former is an old html specification and the new specification (W3C // dtd html 4.0) it is required that everything should have an ending character like XML, and a backslash should be added if not. Html symbols such as br that do not need to be used in pairs are like this: <br/>. Currently, browsers do not differentiate the two, but they may gradually be unified to the new standard, and <br> will not be supported by browsers in the end.
5. <textarea><Textarea cols = "30" rows = "5"> leading Web technology tutorials-all for free at w3school, you can find all the website construction tutorials you need. From Basic HTML to XHTML, and even advanced XML, SQL, database, multimedia and WAP. </Textarea> Cols refers to the columns rows that can be displayed. Here, 30 refers to bytes. The default value is 20 bytes, but textarea does not have the maxLength attribute.
6. <input> the tag has the maxlength attribute. You can set the maximum input length (the same as Chinese characters and letters). size indicates the visible length (the Chinese characters and letters are different) size = 4 in oprea is 4 characters, two Chinese characters, five characters in ie, five characters in Firebox, and five characters in Chorm are 8 characters
7. about meta <meta http-equiv = "refresh" content = "5, url = http://www.baidu.com> 5 seconds later jump to another page <meta http-equiv = "content-type" content = "text/html; charset = UTF-8 "> meta name =" description "content =" here is the description of the web page, is for the search engine to see,
Based on this description, the search engine is generally a keyword on a webpage. "You can have multiple META tags, but each META name cannot be the same. Name = "description" indicates the description. There are also name = "keywords", (keywords) and so on.
8. The cellpadding and cellspacingcellpadding attributes of the <table> label define the space between cells in the cellspacing attribute between the cell edge and the cell content. You can use css to replace Table {Boder-collapse: collapse; Boder-spacing: 0;
}
} Th, td {Boder-spacing: 0} remove. ul {list-style-type: none} in <ul>}