国产av日韩一区二区三区精品,成人性爱视频在线观看,国产,欧美,日韩,一区,www.成色av久久成人,2222eeee成人天堂

Inline css styles

Where can CSS styles be written? From the perspective of the form of CSS style code insertion, it can be basically divided into the following three types: inline, embedded and external. This section first explains the inline style.

Inlinecss style sheet is to write the css code directly in the existing HTML tag, such as the following code:

<p style="color:red">這里文字是紅色。</p>

Note that it should be written at the beginning of the element In the tag, the following writing is wrong:

<p>這里文字是紅色。</p style="color:red">

And the css style code must be written in style="" double quotes. If there are multiple css style code settings, they can be written together, in the middle Separate with semicolons. The following code:

<p style="color:red;font-size:12px">這里文字是紅色。</p>
Continuing Learning
||
<!DOCTYPE HTML> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>認(rèn)識(shí)html標(biāo)簽</title> <style type="text/css"> span{ color:red; } </style> </head> <body> <p>PHP中文網(wǎng),<span style="color:blue">超酷的互聯(lián)網(wǎng)</span>、IT技術(shù)免費(fèi)學(xué)習(xí)平臺(tái),創(chuàng)新的網(wǎng)絡(luò)一站式學(xué)習(xí)、實(shí)踐體驗(yàn);<span>服務(wù)及時(shí)貼心</span>,內(nèi)容專業(yè)、<span>有趣易學(xué)</span>。專注服務(wù)互聯(lián)網(wǎng)工程師快速成為技術(shù)高手!</p> </body> </html>
submitReset Code