天天看點

html-p59

  1. <hr/>                   定義一條水準線
  2. <em>   </em>    傾斜顯示文本
  3. <!--注釋語句 -->
  4. <h1 align="center">标記文本<h1>  居中顯示
  5. <font color="blue">怪尴尬</font>        font屬性   face 字型   size  color
  6. <strong> 加粗   <em>傾斜
  7. css标記  <style type="text/css">  
  8. <hr 屬性="屬性值"/>     屬性: align size color width(百分比或大小)     定義水準線
  9. <br/>  換行

文本格式化标記  

html-p59
  1. <strong>  </strong> 加粗
  2. <em>  </em>   斜體
  3. <del>  </del>    文字加删除線
  4. <ins>  </ins>      文字加下劃線

圖像标記 <img src="圖像url"/>

  1. html-p59

   相對路徑 絕對路徑(磁盤檔案所在位置)     css核心基礎       css樣式規則           選擇器{屬性1:屬性值1;屬性2:屬性值2;}           例:h2{font-size:20px;color:red}        嚴格區分大小寫 一般小寫  屬性值用引号 屬性值和機關之間不允許出現空格      css樣式表           1行内式                <标記名 style="屬性1:屬性值1;屬性2:屬性值2;">内容</标記名>                例:<h2 style="font-size:20px;color:red;">使用css行内式修飾二級标題的字型大小和顔色</h2>           2行内式                <head>                <style type="text/css">                     選擇器{屬性1:屬性值1;屬性2:屬性值2}                </style>                </head>           3鍊入式           <head>               <link href="css檔案的路徑" target="_blank" rel="external nofollow" type="text/css" rel="stylesheet">           </head>           

轉載于:https://www.cnblogs.com/cuirenlao/p/8615053.html