zoukankan      html  css  js  c++  java
  • Class1 HTML Label

    • <html>  element is the root element in HTML page
       1 <!DOCTYPE HTML>
       2 <html lang="en">
       3  <meta charset="utf-8">
       4  <title style="red">春晓</title>
       5     <h1>春晓</h1>
       6 
       7     <body>
       8     <br/>
       9     <p>春眠不觉晓,处处闻啼鸟</p>
      10     <hr/>
      11     <p>夜来风雨声,花落知多少</p>>
      12 
      13 </body>
      14 </html>
      View Code
    • <!DOCTYPE html> declare the HTML5 document
    • <head> element include the document (meta) data    元(meta)数据
    • <title> element describe the title of document
    • <body> element include visualization information in webpage
    • <h1>element define a title
    • <p>element define  a paragraph

     2. class: as the HTML element one or more classname

         ID:Define element as the only one ID

        style:set element inline style

         title:describe the element extra information(use as tool bar)

    3. <hr>  label will create a horizon line in HTML page

       <br/>  label is hollow and create newline(换行)

  • 相关阅读:
    aarch64_p1
    aarch64_o2
    aarch64_o1
    aarch64_n3
    aarch64_n2
    aarch64_n1
    aarch64_m3
    aarch64_m2
    aarch64_m1
    aarch64_l3
  • 原文地址:https://www.cnblogs.com/Mack-Yang/p/8670220.html
Copyright © 2011-2022 走看看