html学录(HTML learning record) HTML tags: HTML The title is defined by the <h1>-<h6> label. Paragraphs are defined by the <p> tag The link is defined by the <a> tag, the specified link address in the href attribute. <a href= "" > </a> The image is defined by the <img> label, the name of the image and size is provided in the form of property. <img src= "" width='104'height='142'1> More HTML property instances; <h1 align= "center" > center display <body bgcolor= "yellow" > on the background color information <table> defines HTML tables <table border='1'> for additional information about the table border Properties suitable for most HTML elements Attribute value description The class name of the specified element in class classname The unique element of ID ID Style style_definition inline style elements Title text provides additional information elements <h1> defines the maximum title, the title of the definition of minimum <h6> "By default, HTML will automatically add an extra blank line before and after the block level elements such as paragraphs, headers and HTML horizontal line The <hr/> tag creates horizontal lines in the HTML page The HR element can be used to separate content HTML -- > <! -- notes, the browser will ignore ments, it will not show them Tag description <html> defines HTML documents The subject of the <body> definition document <h1>to<h6> defines the title of HTML <hr> defines horizontal lines <! -- > ments <p> defines paragraphs <br/> inserts a single line (line wrap) <b> defines bold text <big> defines large words <em> definition focuses on text <i> defines italic characters <small> defines trumpet characters <strong> defines the emphatic mood <sub> defines subscript words <sup> defines superscript words <ins> defines insert words <del> defines deleted characters Computer output label Tag description <code> puter code <kbd> defines keyboard code <samp> defines puter code sample <tt> defines typ