1 <HTML>2 <Head>3 <title>This is the first lesson page title</title>4 <!--meta charset= "UTF-8" -5 </Head>6 <Body>7 Oh, hello.8 </Body>9 </HTML>
Ten knowledge of this chapter design: One 1, a simple HTML document, with the most basic necessary elements: A <HTML> - - <Head> the <title>Title of the document</title> - </Head> - - <Body> + the contents of the document ... - </Body> + A </HTML> atAll browsers support<Head>tags. - - 2. Definition and Usage - <Head>Labels are used to define the head of a document, which is the container for all head elements.<Head>can refer to the script, instruct the browser where to find the style sheet, provide meta information, and so on. - The header of the document describes various properties and information about the document, including the title of the document, its location in the Web, and its relationship to other documents. Most of the data contained in the header of a document is not actually displayed to the reader as content. -The following tabs are available in the head section:<Base>,<Link>,<Meta>,<Script>, <style>, as well<title>. in <title>defines the title of the document, which is the only required element in the head section. - to 3, hints, and notes + tip: You should put<Head>The label is placed at the beginning of the document, immediately following the<HTML>back, and in<Body>label or<Frameset>label before. - tip: Remember to always specify a title for your document!
Syntax for HTML 3