HTML <div> 鏍囩


瀹炰緥

鏂囨。涓殑涓涓尯鍩熷皢鏄剧ず涓鸿摑鑹诧細

<div style="color:#0000FF"> <h3>杩欐槸涓涓湪 div 鍏冪礌涓殑鏍囬銆</h3> <p>吉林快三超级app—官方网址22270.COM杩欐槸涓涓湪 div 鍏冪礌涓殑鏂囨湰銆</p> </div>

灏濊瘯涓涓 禄

娴忚鍣ㄦ敮鎸

Internet Explorer Firefox Opera Google Chrome Safari

鎵鏈変富娴佹祻瑙堝櫒閮芥敮鎸 <div> 鏍囩銆


鏍囩瀹氫箟鍙婁娇鐢ㄨ鏄

<div> 鏍囩瀹氫箟 HTML 鏂囨。涓殑涓涓垎闅斿尯鍧楁垨鑰呬竴涓尯鍩熼儴鍒嗐

吉林快三超级app—官方网址22270.COM<div>鏍囩甯哥敤浜庣粍鍚堝潡绾у厓绱狅紝浠ヤ究閫氳繃 CSS 鏉ュ杩欎簺鍏冪礌杩涜鏍煎紡鍖栥


鎻愮ず鍜屾敞閲

鎻愮ず锛吉林快三超级app—官方网址22270.COM<div> 鍏冪礌缁忓父涓 CSS 涓璧蜂娇鐢紝鐢ㄦ潵甯冨眬缃戦〉銆

娉ㄩ噴锛榛樿鎯呭喌涓嬶紝娴忚鍣ㄩ氬父浼氬湪 <div> 鍏冪礌鍓嶅悗鏀剧疆涓涓崲琛岀銆傜劧鑰岋紝鎮ㄥ彲浠ラ氳繃浣跨敤 CSS 鏀瑰彉杩欑鎯呭喌銆


HTML 4.01 涓 HTML5涔嬮棿鐨勫樊寮

HTML5 涓笉鏀寔 align 灞炴с

鍦 HTML 4.01 涓紝align 灞炴 宸插簾寮


灞炴

灞炴 鎻忚堪
align left
right
center
justify
HTML5 涓嶆敮鎸併侶TML 4.01 宸插簾寮冦 瑙勫畾 <div> 鍏冪礌涓殑鍐呭鐨勫榻愭柟寮忋


鍏ㄥ眬灞炴

<div> 鏍囩鏀寔 HTML 鐨勫叏灞灞炴


浜嬩欢灞炴

<div> 鏍囩鏀寔 HTML 鐨勪簨浠跺睘鎬


鐩稿叧鏂囩珷

HTML 鏁欑▼锛HTML 甯冨眬