Home  >  Article  >  Web Front-end  >  Summary of commonly used tags in html

Summary of commonly used tags in html

巴扎黑
巴扎黑Original
2017-06-16 17:09:171409browse

Summary of commonly used tags in html

Table of contents

Back to topSummary of commonly used tags in html

html tag<

Normal scroll

...Sliding

...Default scroll

...scroll back and forth

...scroll down

... scroll left

...number of scrolls

...Set width...Set height

...Set background color

...Set scroll speed

...Set scroll time

...Stop scrolling when the mouse passes over it

...< ;/marquee>Start scrolling when the mouse leaves

Back to top

Font effect

...

Summary of commonly used tags in htmlTitle word

(MAX)

...
Title word (minimum)

...Bold font

...Bold font(emphasis) (Same effect as above)

...italics

...italics(emphasis)

...Italics(means definition)

...Bottom line

... Bottom line ( means insert text )

...Horizontal line

... Strikethrough

... Keyboard text... Type font

...Fixed width font

(

in the file Center space, line wrapping, and positioning functions are valid

)

...</plaintext><span style="font-family: 宋体;">Fixed-width font</span><span style="font-family: 'Times New Roman';">(</span><span style="font-family: 宋体;">does not implement mark symbols</span><span style="font-family: 'Times New Roman';">) </span></p> <p></p> <p>&lt ; listing >... ;...</font><span style="font-family: 宋体;">Minimal font</span><span style="font-family: 'Times New Roman';"></span> <span style="font-family: 宋体;"></span><font style ='<span style="font-family: &#39;Times New Roman&#39;;">font-size:100 px'</span></p>>...</font></p> <p></p>Unlimited increase <p><span style="font-family: 宋体;"> </span></p> <p></p> <p><span style="font-family: 宋体;"></span></p>Back to top<p></p> <p><span style="font-family: 宋体;"></span>Zone break mark</p> <p></p> <p><span style="font-family: 'Times New Roman';"><hr></span>Horizontal line<span style="font-family: 'Times New Roman';"></span><span style="font-family: 宋体;"></span></p><hr size= '<p>9'</p><p>><p> Horizontal line</p> <p style="text-align: right">(<a href="#_labelTop"></a>Set size<img class="anchorclass" alt="Summary of commonly used tags in html" ></p>) <h2><strong></strong></h2> <p><hr width='</p>80%'<p><span style="font-family: 宋体;">></p>Horizontal line<p></p>(<p><span style="font-family: 'Times New Roman';">Set width</span><span style="font-family: 'Times New Roman';">) </span> <span style="font-family: 宋体;"><p> </p> <p><hr color='<span style="font-family: &#39;Times New Roman&#39;;">ff0000'</span><span style="font-family: &#39;Times New Roman&#39;;">></p></span><span style="font-family: 宋体;">horizontal line</span><span style="font-family: 'Times New Roman';">(</span><span style="font-family: 宋体;">set color</span><span style="font-family: 'Times New Roman';">) </span></p> <p> </p> <p><br>(<span style="font-family: 宋体;">line break</span> <span style="font-family: 'Times New Roman';">) </span></p> <p> </p> <p> <nobr>...</nobr><span style="font-family: 宋体;">waters</span><span style="font-family: 'Times New Roman';">(</span><span style="font-family: 宋体;">without line breaks</span><span style="font-family: 'Times New Roman';">) </span></p> <p></p> <p><p>...</p><span style="font-family: 宋体;">waters</span><span style="font-family: 'Times New Roman';">(</span><span style="font-family: 宋体;">paragraph</span> <span style="font-family: 'Times New Roman';">) </span></p> <p> </p> <p><center>...</center><span style="font-family: 宋体;">Centered</span></p> <p> </p> <p style="text-align: right"><a href="#_labelTop">Back to top</a><img class="anchorclass" alt="Summary of commonly used tags in html" ></p> <h2><strong><!><span style="font-family: 宋体;">Link format</span> </strong></h2> <p> </p> <p> <base href=<span style="font-family: 宋体;">Address</span><span style="font-family: &#39;Times New Roman&#39;;">>(<span style="font-family: 宋体;">Default link path</span><span style="font-family: 'Times New Roman';">) </span></p> <p> </p> <p><a href=<span style="font-family: 宋体;">Address</span><span style="font-family: &#39;Times New Roman&#39;;">></a><span style="font-family: 宋体;">External link</span> </p> <p> </p> <p><a href=<span style="font-family: 宋体;">address</span><span style="font-family: &#39;Times New Roman&#39;;">target='</span><span style="font-family: &#39;Times New Roman&#39;;">_blank'</span><span style="font-family: &#39;Times New Roman&#39;;">></a><span style="font-family: 宋体;">External link</span><span style="font-family: 'Times New Roman';">(</span><span style="font-family: 宋体;">Open a new window</span><span style="font-family: 'Times New Roman';">) </span> </p> <p></p> <p><a href=<span style="font-family: 宋体;">Address</span><span style="font-family: &#39;Times New Roman&#39;;">target='</span><span style="font-family: &#39;Times New Roman&#39;;">_top'</span><span style="font-family: &#39;Times New Roman&#39;;">></a><span style="font-family: 宋体;">External link</span><span style="font-family: 'Times New Roman';">(</span><span style="font-family: 宋体;">Full window link</span><span style="font-family: 'Times New Roman';">) </span></p> <p></p> <p><a href = <span style="font-family: 宋体;"></span> =Target = '<span style="font-family: 'Times New Roman';"></span> page box name' <span style="font-family: 宋体;"></span> & gt; & lt;/a & gt; Top<span style="font-family: 'Times New Roman';"></span><span style="font-family: 宋体;"></span><span style="font-family: 'Times New Roman';"><!></span>stickers<span style="font-family: 宋体;"></span>/<span style="font-family: 'Times New Roman';"></span>music</p> <p></p> <p style="text-align: right"> <a href="#_labelTop"></a><img src=<img class="anchorclass"/ alt="Summary of commonly used tags in html" >picture address</p><h2>><strong><span style="max-width:90%">stickers</span> <span style="font-family: 'Times New Roman';"></span> <span style="font-family: 宋体;"></span><img src =</strong>image address</h2><p>width="</p><p>180"<span style="font-family: 宋体;"></span>><span style="font-family: 'Times New Roman';"></span>set image width<span style="font-family: 宋体;"></span></strong></p> <p></p><img src=<p>image address<span style="font-family: 宋体;"></span>height="<span style="font-family: &#39;Times New Roman&#39;;"></span>30"<span style="font-family: &#39;Times New Roman&#39;;"></span>& gt ;<span style="font-family: &#39;Times New Roman&#39;;"></span>Set image height<span style="font-family: 宋体;"></span></p><p><p><img src=<span style="font-family: 宋体;">Picture address</span><span style="font-family: &#39;Times New Roman&#39;;">alt="</span><span style="font-family: 宋体;">Prompt text"</span><span style="font-family: &#39;Times New Roman&#39;;">><span style="font-family: 宋体;">Set picture prompt text</span><p> </p> <p><img src=<span style="font-family: 宋体;">Picture address </span><span style="font-family: &#39;Times New Roman&#39;;">border=" </span><span style="font-family: &#39;Times New Roman&#39;;">1"</span><span style="font-family: &#39;Times New Roman&#39;;">><span style="font-family: 宋体;">Set picture border</span></p> <p></p> <p><bgsound src=MID<span style="font-family: 宋体;">Music file address</span><span style="font-family: &#39;Times New Roman&#39;;">><span style="font-family: 宋体;">Background music setting</span></p> <p></p> <p style="text-align: right"> <a href="#_labelTop">Back to top</a> <img class="anchorclass" alt="Summary of commonly used tags in html" ></p> <h2><strong><!><span style="font-family: 宋体;">Table syntax</span></strong></h2> <p></p> <p><table aling=left>...</table><span style="font-family: 宋体;">Table position</span><span style="font-family: 'Times New Roman';">,</span><span style="font-family: 宋体;">left</span></p> <p></p> <p>< table aling=center>...</table><span style="font-family: 宋体;">Table position</span><span style="font-family: 'Times New Roman';">,</span><span style="font-family: 宋体;">centered</span></p> <p> </p> <p><table background=<span style="font-family: 宋体;">image path</span><span style="font-family: &#39;Times New Roman&#39;;">>...</table><span style="font-family: 宋体;"> The </span><span style="font-family: 'Times New Roman';">URL=</span><span style="font-family: 宋体;"> of the background image is the path URL </span></p> <p> </p> <p><table border=<span style="font-family: 宋体;">border size</span><span style="font-family: &#39;Times New Roman&#39;;">>...</table><span style="font-family: 宋体;">Set the table border size</span><span style="font-family: 'Times New Roman';">(</span><span style="font-family: 宋体;">Use Number</span><span style="font-family: 'Times New Roman';">) </span></p> <p></p> <p><table bgcolor=<span style="font-family: 宋体;">color code</span><span style="font-family: &#39;Times New Roman&#39;;">>...</table><span style="font-family: 宋体;">Set the background color of the table</span></p> <p> </p> <p><table borderclor=<span style="font-family: 宋体;">color code </span><span style="font-family: &#39;Times New Roman&#39;;">>...</table><span style="font-family: 宋体;">Set the color of the table border </span></p> <p> </p> <p><table borderclordark=<span style="font-family: 宋体;">Color code</span><span style="font-family: &#39;Times New Roman&#39;;">>...</table><span style="font-family: 宋体;">Set the table The color of the dark border</span></p> <p></p> <p><table borderclorlight=<span style="font-family: 宋体;">Color code</span><span style="font-family: &#39;Times New Roman&#39;;">>...</table><span style="font-family: 宋体;">Set the color of the light border of the table</span></p> <p></p> <p><table cellpadding=<span style="font-family: 宋体;">parameter </span><span style="font-family: &#39;Times New Roman&#39;;">>... ... /table><span style="font-family: 宋体;">Specify the number of columns in the table</span><span style="font-family: 'Times New Roman';"></span><span style="font-family: 宋体;"></span><table frame=<span style="font-family: &#39;Times New Roman&#39;;">parameter</span></p>>...</table></p> <p></p>Set the display method of the table outline<p><span style="font-family: 宋体;"></span><span style="font-family: 'Times New Roman';"><p><table width=<span style="font-family: 宋体;">width</span><span style="font-family: &#39;Times New Roman&#39;;">>...</table></p></span><span style="font-family: 宋体;">Specify the width of the table</span><span style="font-family: 'Times New Roman';">(</span><span style="font-family: 宋体;">use numbers</span><span style="font-family: 'Times New Roman';">) </span></p> <p> </p> <p><table height=<span style="font-family: 宋体;">height</span> <span style="font-family: &#39;Times New Roman&#39;;">>...</table><span style="font-family: 宋体;">Specify the height of the table</span><span style="font-family: 'Times New Roman';">(</span><span style="font-family: 宋体;">use numbers</span><span style="font-family: 'Times New Roman';">) </span></p> <p> </p> <p><td colspan=<span style="font-family: 宋体;">parameter</span><span style="font-family: &#39;Times New Roman&#39;;">>...</ td><span style="font-family: 宋体;">Specify the number of columns in the cell merge column</span><span style="font-family: 'Times New Roman';">(</span><span style="font-family: 宋体;">use numbers</span><span style="font-family: 'Times New Roman';">) </span></p> <p></p> <p><td rowspan=<span style="font-family: 宋体;">parameter</span><span style="font-family: &#39;Times New Roman&#39;;">>...</td><span style="font-family: 宋体;">Specify storage The number of columns in the merged column</span><span style="font-family: 'Times New Roman';">(</span><span style="font-family: 宋体;">Use numbers</span><span style="font-family: 'Times New Roman';">) </span></p> <p></p> <p style="text-align: right"><a href="#_labelTop">Back to top</a><img class="anchorclass" alt="Summary of commonly used tags in html" ></p> <h2><strong>Split window</strong></h2> <p></p> <p><frameset cols="20%,*"&g t; <span style="font-family: 宋体;">Split left and right</span><span style="font-family: &#39;Times New Roman&#39;;">,</span><span style="font-family: 宋体;">Split the left frame to </span><span style="font-family: &#39;Times New Roman&#39;;">20%</span><span style="font-family: 宋体;">The size of the right frame will be automatically adjusted</span></p><p></p><p><frameset rows="20%,*"><span style="font-family: 宋体;">Split up and down </span><span style="font-family: 'Times New Roman';">,</span><span style="font-family: 宋体;">Split the upper frame to </span><span style="font-family: 'Times New Roman';">20%</span><span style="font-family: 宋体;">The browser will automatically adjust the size of the lower frame</span></p> <p> </p> <p><frameset cols="20%,*"><span style="font-family: 宋体;">Split the left and right frames </span></p> <p> </p> <p><frameset cols="20%,*,20%"><span style="font-family: 宋体;">Split the left, middle and right frames into three frames</span></p> <p> </p> <p><<span style="font-family: 宋体;">Split into the upper and lower frames</span></p><p> </p><p><frameset rows="20%,*,20%"><span style="font-family: 宋体;">Split the upper, middle and lower frames</span></p> <p> </p> <p>Attributes: </p> <p></p> <p><strong>cols</strong> Vertical cutting window (such as splitting two windows left and right) accepts integer values, Percentage, <span style="font-family: 'Times New Roman';">*</span><span style="font-family: 宋体;"> (</span><span style="font-family: 'Times New Roman';">*</span><span style="font-family: 宋体;"> represents the remaining space occupied). The number of values ​​represents the number of divided parts, and must be separated by commas. Example: </span><span style="font-family: 'Times New Roman';">cols="30,*,50%"</span><span style="font-family: 宋体;"> can be cut into three windows. The first part is </span><span style="font-family: 'Times New Roman';">30</span><span style="font-family: 宋体;">pixels (</span><span style="font-family: 'Times New Roman';">pixels</span><span style="font-family: 宋体;">) for absolute division, and the second part is when the allocation is completed The remaining space after the first and third views, the third part accounts for </span><span style="font-family: 'Times New Roman';">50%</span><span style="font-family: 宋体;"> of the entire window, which is a relative division. </span></p> <p> </p> <p><strong>rows</strong> is horizontal cutting, separating the upper and lower windows. The value settings are the same as above. </p> <p> </p> <p>Try not to put the above two attributes in the same <span style="font-family: 'Times New Roman';"><frameset></span><span style="font-family: 宋体;"> tag, because Wangjing (</span><span style="font-family: 'Times New Roman';">netscape</span><span style="font-family: 宋体;">) does not support it, try to use multiple splits. </span></p> <p></p> <p>frameborder <span style="font-family: 宋体;">Set the border of the frame. The values ​​are </span><span style="font-family: 'Times New Roman';">0</span><span style="font-family: 宋体;">without a border and </span><span style="font-family: 'Times New Roman';">1</span><span style="font-family: 宋体;">with a border. </span></p> <p> </p> <p>border <span style="font-family: 宋体;">Set the frame border thickness </span></p> <p> </p> <p>framespacing <span style="font-family: 宋体;">Represents the distance between frames to keep the space </span></p> <p> </p> <p>frame <span style="font-family: 宋体;">Element (single label) </span></p> <p></p> <p>Grammar format:</p> <p></p> <p><frame name="" src="url" scrolling="yes/no" noresize></p> <p> </p> <p>Attributes: </p> <p> </p> <p>name <span style="font-family: 宋体;">Frame name, specify the frame to connect to the target window. </span></p> <p> </p> <p>src <span style="font-family: 宋体;">The </span><span style="font-family: 'Times New Roman';">url</span><span style="font-family: 宋体;"> address to be displayed in the frame. Each frame should correspond to a </span><span style="font-family: 'Times New Roman';">html</span><span style="font-family: 宋体;"> document. </span></p> <p> </p> <p>scrolling <span style="font-family: 宋体;">Whether to display scroll bars, </span><span style="font-family: 'Times New Roman';">yes/no, auto</span><span style="font-family: 宋体;"> is automatic. </span></p> <p> </p> <p>noresize <span style="font-family: 宋体;">Set to prevent users from changing the size of this frame, </span></p> <p> </p> <p><strong>noframe<span style="font-family: 宋体;"> element </span></strong></p> <p> </p> <p>Specify when a page using a frame is opened in a browser that does not support frames Displayed information </p> <p> </p> <p> Grammar format: </p> <p> </p> <p><noframe></p> <p> </p> <p>......</p> <p> </p> <p></noframe></p> <p> </p> <p style="text-align: right"><a href="#_labelTop">Back to top </a><img class="anchorclass" alt="Summary of commonly used tags in html" ></p> <h2><strong> Form <span style="font-family: 'Times New Roman';"><form></form> </span></strong></h2> <p> </p> <p> Grammar format: </p> <p> </p> <p><form action="url" method="get/post"></p> <p> </p> <p>....</p> <p> </p> <p><input type=submit><input type=reset> </p>action <p>is Specify the location of the program that processes the form, so that the information filled in the form can be sent to </p><p>cgi</p><p> for processing. You can set this parameter to </p><p>action="mailto:lwr8494@163.com" <span style="font-family: 宋体;"></span>This form The information filled in will be sent to this email address. <span style="font-family: &#39;Times New Roman&#39;;"></span></p> <p></p>method <p> refers to the way of transmitting information to <span style="font-family: 宋体;"></span>cgi<span style="font-family: &#39;Times New Roman&#39;;"></span> and other network programs. Optional <span style="font-family: 宋体;"></span>post<span style="font-family: &#39;Times New Roman&#39;;"></span> method, <span style="font-family: 宋体;"></span>get</p><p> method, </p><p>post<span style="font-family: 宋体;"></span> method allows sending large amounts of information. The <span style="font-family: &#39;Times New Roman&#39;;"></span>get<span style="font-family: 宋体;"></span> method only accepts information below <span style="font-family: &#39;Times New Roman&#39;;"></span>1k<span style="font-family: 宋体;"></span>. <span style="font-family: &#39;Times New Roman&#39;;"></span><span style="font-family: 宋体;"> </span><span style="font-family: &#39;Times New Roman&#39;;">The application form is </span>post<span style="font-family: 宋体;"></span>The search engine is <span style="font-family: &#39;Times New Roman&#39;;"></span>get <span style="font-family: 宋体;"></span><span style="font-family: &#39;Times New Roman&#39;;"> </span><span style="font-family: 宋体;"> </span></p><p></p><p><! - - ... - -> <span style="font-family: 'Times New Roman';">Notes</span> <span style="font-family: 宋体;"></span><span style="font-family: 'Times New Roman';"> A HREF TARGET A HREF> </span>Specify hyperlink</p> <p></p> <p></p> <p><A NAME=<span style="font-family: 宋体;">The name of the anchor</span><span style="font-family: &#39;Times New Roman&#39;;">> <span style="font-family: 宋体;">The name of the connected point</span></p> <p></p> <p><ADDRESS>....</ADDRESS> <span style="font-family: 宋体;">Used to display the email address</span></p> <p></p> <p><B> <span style="font-family: 宋体;">Bold font</span></p> <p> </p> <p><BASE TARGET> <span style="font-family: 宋体;">Specify the split window of the hyperlink</span></p> <p> </p> <p><BASEFONT SIZE> <span style="font-family: 宋体;">Change the default font size</span></p> <p> </p> <p><BGSOUND SRC> <span style="font-family: 宋体;">Add background music</span></p> <p> </p> <p><BIG> <span style="font-family: 宋体;">Show large fonts</span></p> <p> </p> <p><BLINK> <span style="font-family: 宋体;">Flashing text</span></p> <p> </p> <p><BODY TEXT LINK VLIN K> <span style="font-family: 宋体;">Set text color</span> </p> <p> </p> <p><BODY> <span style="font-family: 宋体;">Show this article</span></p> <p> </p> <p><BR> <span style="font-family: 宋体;">Line break</span></p> <p> </p> <p><CAPTION ALIGN> <span style="font-family: 宋体;">Set the table title position</span></p> <p> </p> <p><CAPTION>... </CAPTION> <span style="font-family: 宋体;">Add a title to the table</span></p> <p> </p> <p><CENTER> <span style="font-family: 宋体;">Align to the center</span></p> <p> </p> <p><CITE>...<CITE> <span style="font-family: 宋体;">Text for citations</span></p> <p> </p> <p><CODE>...</CODE> <span style="font-family: 宋体;">Used to list a piece of program code</span></p> <p> </p> <p><COMMENT>...</COMMENT> <span style="font-family: 宋体;">Add comments</span></p> <p> </p> <p><DD&gt ; <span style="font-family: 宋体;">Item explanation of setting definition list</span></p><p></p><p><DFN>...</DFN> <span style="font-family: 宋体;">Display</span><span style="font-family: 'Times New Roman';">"</span><span style="font-family: 宋体;">Definition</span><span style="font-family: 'Times New Roman';">"</span><span style="font-family: 宋体;">Text</span></p> <p></p> <p><DIR& gt;. ..</DIR> <span style="font-family: 宋体;">List text label</span></p> <p> </p> <p><DL>...</DL> <span style="font-family: 宋体;">Set the label of the definition list</span></p> <p> </p> <p><DT> <span style="font-family: 宋体;">Set the label of the definition list Item </span></p> <p> </p> <p><EM> <span style="font-family: 宋体;">For emphasis</span></p> <p> </p> <p><FONT FACE> <span style="font-family: 宋体;">Specify the font used arbitrarily</span></p> <p> </p> <p><FONT SIZE> <span style="font-family: 宋体;">Set the font size </span></p> <p> </p> <p> <FORM ACTION> <span style="font-family: 宋体;">Set the processing method of the mobile form</span></p> <p> </p> <p><FORM METHOD> <span style="font-family: 宋体;">Set the data transmission method of the mobile form</span></p> <p> </p> <p><FRame MARGINHEIGHT> <span style="font-family: 宋体;">Setting window </span></p> <p></p> <p><FRame MARGINWIDTH> <span style="font-family: 宋体;">Set the left and right boundaries of the window</span></p> <p> </p> <p><FRame NAME> <span style="font-family: 宋体;">Name the split window</span></p> <p></p> <p><FRame NORESI ZE> <span style="font-family: 宋体;">Lock split window The size of </span></p> <p> </p> <p><FRame SCROLLING> <span style="font-family: 宋体;">Set the scroll of the split window</span></p> <p> </p> <p><FRame SRC> <span style="font-family: 宋体;">Add the </span><span style="font-family: 'Times New Roman';">HTML</span><span style="font-family: 宋体;"> file to the window</span></p> <p> </p> <p><FRameSET COLS> <span style="font-family: 宋体;"> Split the window into left and right sub-windows</span></p> <p></p> <p><FRameSET ROWS> <span style="font-family: 宋体;">Split the window into upper and lower sub-windows</span></p> <p> </p> <p><FRameSET>...</FRameSET> <span style="font-family: 宋体;">Divide the split window</span></p> <p> </p> <p><H1>~<H6> <span style="font-family: 宋体;">Set text size</span></p> <p> </p> <p><HEAD> <span style="font-family: 宋体;">Mark file information</span></p> <p> </p> <p><HR> <span style="font-family: 宋体;">Add dividing lines</span> </p> <p></p> <p><HTML> <span style="font-family: 宋体;">The beginning and end of the file</span></p> <p></p> <p><I> <span style="font-family: 宋体;">italics</span></p> <p> </p> <p><IMG ALIGN> <span style="font-family: 宋体;">Adjust the position of the graphic image</span></p> <p></p> <p><IMG ALT> <span style="font-family: 宋体;"> Annotate your graphic images</span></p> <p></p> <p><IMG DYNSRC LOOP> <span style="font-family: 宋体;">Add a video</span></p> <p> </p> <p><IMG HEIGHT WIDTH> <span style="font-family: 宋体;">Insert image and preset graphic size</span></p> <p></p> <p><I MG HSPACE> <span style="font-family: 宋体;">Insert pictures and preset the left and right borders of the graphics</span></p> <p> </p> <p><IMG LOWSRC> <span style="font-family: 宋体;">Preload picture function</span></p> <p> </p> <p><IMG SRC BORDER> <span style="font-family: 宋体;">Set picture borders</span></p> <p> </p> <p>< IMG SRC&gt ; <span style="font-family: 宋体;">Insert pictures</span></p><p> </p><p><IMG VSPACE> <span style="font-family: 宋体;">Insert pictures and preset the upper and lower borders of the graphics</span></p> <p> </p> <p><INPUT TYPE NAME value> <span style="font-family: 宋体;">Add input fields to the form</span></p> <p></p> <p>&lt ;ISINDEX> <span style="font-family: 宋体;">Definition query form</span></p> <p> </p> <p><KBD>...</KBD> <span style="font-family: 宋体;">Indicates that the user enters text</span></p> <p> </p> <p><LI TYPE>...</LI> <span style="font-family: 宋体;"> List items</span><span style="font-family: 'Times New Roman';">(</span><span style="font-family: 宋体;">can specify symbols</span><span style="font-family: 'Times New Roman';">) </span></p> <p></p> <p><MARQUEE> <span style="font-family: 宋体;">Marquee effect</span></p> <p> </p> <p><MENU>...</MENU> <span style="font-family: 宋体;"> Article text label </span> </p> <p> </p> <p><meta NAME="REFRESH" CONTENT URL> <span style="font-family: 宋体;">Automatically update file content</span></p> <p> </p> <p><MULTIPLE> <span style="font-family: 宋体;">A list bar that can select multiple items at the same time</span></p> <p> </p> <p><NOFRame> <span style="font-family: 宋体;">Definition not The text that appears in the split window </span></p> <p> </p> <p><OL>...</OL> <span style="font-family: 宋体;">Numbered list</span></p> <p> </p> <p><OPTION> <span style="font-family: 宋体;">Define the items in the list column in the form</span></p> <p> </p> <p>&lt ;P ALIGN> <span style="font-family: 宋体;">Set the alignment direction</span></p> <p> </p> <p><P> <span style="font-family: 宋体;">Segmentation</span></p> <p> </p> <p><PERSON>...</PERSON> <span style="font-family: 宋体;">Display person name</span></p> <p> </p> <p> <PRE> &lt;span style=&quot;font-family: 宋体;&quot;&gt;Use the original arrangement&lt;/span&gt;&lt;/p&gt; &lt;p&gt; &lt;/p&gt; &lt;p&gt;&lt;SAMP&gt;...&lt;/SAMP&gt; &lt;span style=&quot;font-family: 宋体;&quot;&gt;Use the original arrangement&lt;/span&gt;&lt;/p&gt; &lt;p&gt; &lt;/p&gt; &lt;p&gt;&lt;select &gt;...&lt;/select &gt; &lt;span style=&quot;font-family: 宋体;&quot;&gt;In the form Define the list column &lt;/span&gt;&lt;/p&gt; &lt;p&gt; &lt;/p&gt; &lt;p&gt;&lt;SMALL&gt; &lt;span style=&quot;font-family: 宋体;&quot;&gt;Show small font &lt;/span&gt;&lt;/p&gt; &lt;p&gt; &lt;/p&gt; &lt;p&gt;&lt;STRIKE&gt; &lt;span style=&quot;font-family: 宋体;&quot;&gt;The text is underlined&lt;/span&gt;&lt;/p&gt; &lt;p&gt; &lt;/p&gt; &lt;p&gt;&lt;STRONG&gt; &lt;span style=&quot;font-family: 宋体;&quot;&gt;Used to strengthen the tone&lt;/span&gt; &lt;/p&gt; &lt;p&gt;&lt;/p&gt; &lt;p&gt;&amp;lt ;SUB&gt; &lt;span style=&quot;font-family: 宋体;&quot;&gt;Subscripts&lt;/span&gt;&lt;/p&gt; &lt;p&gt; &lt;/p&gt; &lt;p&gt;&lt;SUP&gt; &lt;span style=&quot;font-family: 宋体;&quot;&gt;Superscripts&lt;/span&gt;&lt;/p&gt; &lt;p&gt; &lt;/p&gt; &lt;p&gt;&lt;TABLE BORDER=n&gt; &lt;span style=&quot;font-family: 宋体;&quot;&gt;Adjust the width line height of the table&lt;/span&gt;&lt;/p&gt; &lt;p&gt; &lt;/p&gt; &lt;p&gt;&lt; TABLE CELLPADDING&gt; &lt;span style=&quot;font-family: 宋体;&quot;&gt; Adjust the border of the data field&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;/p&gt; &lt;p&gt;&lt;TABLE CELLSPACING&gt; &lt;span style=&quot;font-family: 宋体;&quot;&gt;Adjust the width of the table line&lt;/span&gt;&lt;/p&gt; &lt;p&gt; &lt;/p&gt; &lt;p&gt;&lt;TABLE HEIGHT&gt; &lt;span style=&quot;font-family: 宋体;&quot;&gt;Adjust the height of the table&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;/p&gt; &lt;p&gt;&lt;TABLE WIDTH&amp; gt; &lt;span style=&quot;font-family: 宋体;&quot;&gt;Adjust table The width of &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;TABLE&gt;...&lt;/TABLE&gt; &lt;span style=&quot;font-family: 宋体;&quot;&gt;Generate table labels&lt;/span&gt;&lt;/p&gt; &lt;p&gt; &lt;/p&gt; &lt;p&gt;&lt;TD ALIGN&gt; &lt;span style=&quot;font-family: 宋体;&quot;&gt;Adjust the left and right alignment of table fields&lt;/span&gt;&lt;/p&gt; &lt;p&gt; &lt;/p&gt; &lt;p&gt;&lt;TD BGCOLOR&gt; &lt;span style=&quot;font-family: 宋体;&quot;&gt;Set the background color of table fields&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;/p&gt;T &amp; lt; TD COLSPAN ROWSPAN &amp; GT; &lt;p&gt; &lt;span style=&quot;font-family: 宋体;&quot;&gt; &lt;/span&gt;&lt;/p&gt; &amp; &amp; lt; td nowrap &amp; gt; &lt;p&gt; Set the table field without change. &lt;/p&gt; &lt;p&gt; &lt;span style=&quot;font-family: 宋体;&quot;&gt;&lt;/span&gt;&lt;TD WIDTH&gt; &lt;/p&gt;Adjust the table field width &lt;p&gt;&lt;/p&gt; &lt;p&gt; &lt;span style=&quot;font-family: 宋体;&quot;&gt;&lt;/span&gt;&lt;TD&gt;...&lt;/TD&gt; &lt;/p&gt;Define the data fields of the table &lt;p&gt;&lt;/p&gt; &lt;p&gt; &lt;span style=&quot;font-family: 宋体;&quot;&gt;&lt;/span&gt;&lt;TEXTAREA NAME ROWS COLS &amp;gt ; &lt;/p&gt;How many columns of text input fields to add to the form&lt;p&gt;&lt;/p&gt;&lt;p&gt; &lt;span style=&quot;font-family: 宋体;&quot;&gt;&lt;/span&gt;&lt;TEXTAREA WRAP&gt; &lt;/p&gt;Determine whether the text input field will wrap automatically or not &lt;p&gt;&lt;/p&gt; &lt;p&gt; &lt;span style=&quot;font-family: 宋体;&quot;&gt;&lt;/span&gt;&lt;TH&gt;...&lt;/TH&gt; &lt;/p&gt;Define the table The header field &lt;p&gt;&lt;/p&gt; &lt;p&gt; &lt;span style=&quot;font-family: 宋体;&quot;&gt;&lt;/span&gt;&lt;TITLE&gt; &lt;/p&gt;Document title&lt;p&gt;&lt;/p&gt; &lt;p&gt; &lt;span style=&quot;font-family: 宋体;&quot;&gt;&lt;/span&gt;&lt;TR&gt;...&lt;/TR&gt; &lt;/p&gt;The definition table is beautiful in one line &lt;p&gt;&lt;/p&gt; &lt;p&gt; &lt;span style=&quot;font-family: 宋体;&quot;&gt;&lt;/span&gt;&lt;TT&gt; &lt;/p&gt;Typewriter Font&lt;p&gt;&lt;/p&gt; &lt;p&gt;&lt;span style=&quot;font-family: 宋体;&quot;&gt;&lt;/span&gt;&lt;U&gt; &lt;/p&gt;Underlined text&lt;p&gt;&lt;/p&gt; &lt;p&gt;&lt;span style=&quot;font-family: 宋体;&quot;&gt;&lt;/span&gt;&lt;UL TYPE&gt;...&lt;/UL&gt; &lt;/p&gt;Unnumbered list&lt;p&gt;&lt;/p&gt;(&lt;p&gt;&lt;span style=&quot;font-family: 宋体;&quot;&gt;can specify symbols&lt;/span&gt;&lt;/p&gt;) &lt;p&gt;&lt;/p&gt; &lt;p&gt; &lt;span style=&quot;font-family: 宋体;&quot;&gt;&lt;/span&gt;&lt;var&gt;...&lt;/var&gt; &lt;span style=&quot;font-family: 'Times New Roman';&quot;&gt;Used to display variables &lt;/span&gt;&lt;span style=&quot;font-family: 宋体;&quot;&gt;&lt;/span&gt; &lt;span style=&quot;font-family: 'Times New Roman';&quot;&gt;&lt;/span&gt;BlockQuotc &lt;/p&gt;Text indent &lt;p&gt;&lt;/p&gt; &lt;p&gt; &lt;span style=&quot;font-family: 宋体;&quot;&gt;&lt;/span&gt;&lt;/p&gt; Back to top &lt;p&gt;&lt;/p&gt; &lt;p&gt;&lt;span style=&quot;font-family: 宋体;&quot;&gt;&lt;/span&gt; There are three ways ; &lt;/p&gt; &lt;p&gt;&lt;/p&gt; &lt;p style=&quot;text-align: right&quot;&gt;&lt;a href=&quot;#_labelTop&quot;&gt;1&lt;/a&gt;, &lt;img class=&quot;anchorclass&quot; alt=&quot;Summary of commonly used tags in html&quot; &gt;&lt;/p&gt;16&lt;h2&gt;&lt;strong&gt;Base color code&lt;/strong&gt;&lt;/h2&gt; &lt;p&gt; &lt;/p&gt; &lt;p&gt;Syntax: &lt;span style=&quot;font-family: 宋体;&quot;&gt;#RRGGBB &lt;/span&gt;&lt;span style=&quot;font-family: 'Times New Roman';&quot;&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 宋体;&quot;&gt;&lt;/span&gt;Example: &lt;/p&gt;&lt;font color=&quot;#ff0000 &quot;&gt;&lt;p&gt;&lt;/p&gt;red &lt;p&gt;&lt;span style=&quot;font-family: 'Times New Roman';&quot;&gt;&lt;/font&gt; &lt;/span&gt;(&lt;/p&gt;&lt;p&gt;RRR&lt;/p&gt;&lt;p&gt;,&lt;span style=&quot;font-family: &amp;#39;Times New Roman&amp;#39;;&quot;&gt;&lt;/span&gt;GGG&lt;span style=&quot;font-family: 宋体;&quot;&gt; &lt;/span&gt;, &lt;span style=&quot;font-family: &amp;#39;Times New Roman&amp;#39;;&quot;&gt;&lt;/span&gt;BBB&lt;/p&gt;&lt;p&gt;) &lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family: 宋体;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;font-family: &amp;#39;Times New Roman&amp;#39;;&quot;&gt; Example: &lt;/span&gt;&lt;font color=&quot;rgb(255,000,000)&quot;&gt;&lt;span style=&quot;font-family: 宋体;&quot;&gt;&lt;/span&gt;red&lt;span style=&quot;font-family: 'Times New Roman';&quot;&gt;&lt;/span&gt;&lt;/font&gt; &lt;span style=&quot;font-family: 宋体;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;/p&gt;3,&lt;p&gt;Use color directly English name &lt;span style=&quot;font-family: 'Times New Roman';&quot;&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 宋体;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 'Times New Roman';&quot;&gt;Example: &lt;/span&gt;&lt;font color=&quot;red&quot;&gt;&lt;span style=&quot;font-family: 宋体;&quot;&gt;&lt;/span&gt;red&lt;span style=&quot;font-family: 'Times New Roman';&quot;&gt;&lt;/span&gt;&lt;/font&gt; &lt;span style=&quot;font-family: 宋体;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 'Times New Roman';&quot;&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 宋体;&quot;&gt;&lt;/span&gt;Back to top&lt;/p&gt; &lt;p&gt;&lt;/p&gt; &lt;p&gt;&lt;span style=&quot;font-family: 'Times New Roman';&quot;&gt;&lt;body&amp;g t;. ....&lt;/body&gt;&lt;/span&gt; attributes can be divided into three types: &lt;span style=&quot;font-family: 宋体;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 'Times New Roman';&quot;&gt;&lt;/span&gt; &lt;/p&gt; &lt;p&gt;1&lt;/p&gt;, background attributes &lt;p&gt;&lt;span style=&quot;font-family: 宋体;&quot;&gt;&lt;/span&gt; &lt;/p&gt; &lt;p&gt; include: &lt;/p&gt;bgcolor, background &lt;p&gt;&lt;span style=&quot;font-family: 'Times New Roman';&quot;&gt;&lt;/span&gt; &lt;span style=&quot;font-family: 宋体;&quot;&gt;&lt;/span&gt;2, &lt;span style=&quot;font-family: 'Times New Roman';&quot;&gt;text attributes: &lt;/span&gt;&lt;/p&gt; &lt;p&gt; &lt;/p&gt; &lt;p style=&quot;text-align: right&quot;&gt; includes: &lt;a href=&quot;#_labelTop&quot;&gt;text, link, alink, vlink, &lt;/a&gt;&lt;img class=&quot;anchorclass&quot; alt=&quot;Summary of commonly used tags in html&quot; &gt;&lt;/p&gt; &lt;h2&gt;&lt;strong&gt;3, &lt;span style=&quot;max-width:90%&quot;&gt;Blank attribute: &lt;/span&gt;&lt;/strong&gt;&lt;/h2&gt; &lt;p&gt;&lt;/p&gt; which is divided into: &lt;p&gt;leftmargin, topmargin &lt;span style=&quot;font-family: 宋体;&quot;&gt;&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;/p&gt;.bgcolor&lt;p&gt;Background Color&lt;span style=&quot;font-family: 'Times New Roman';&quot;&gt;&lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;/p&gt; &lt;p&gt;Grammar format: &lt;span style=&quot;font-family: 'Times New Roman';&quot;&gt;&lt;body bgcolor=&quot;#ff0000&quot;&gt; &lt;/span&gt;&lt;/p&gt; &lt;p&gt; &lt;/p&gt; &lt;p&gt;.background&lt;span style=&quot;font-family: 宋体;&quot;&gt;Background pattern. &lt;/span&gt;&lt;/p&gt; &lt;p&gt; &lt;/p&gt; &lt;p&gt; Grammar format: &lt;span style=&quot;font-family: 'Times New Roman';&quot;&gt;&lt;body background=&quot;url&quot;&gt; &lt;/span&gt;&lt;/p&gt; &lt;p&gt; &lt;/p&gt; &lt;p&gt;.text&lt;span style=&quot;font-family: 宋体;&quot;&gt;Text color (non-connected text color) &lt;/span&gt;&lt;/p&gt; &lt;p&gt; &lt;/p&gt; &lt;p&gt;.link&lt;span style=&quot;font-family: 宋体;&quot;&gt;Connected text color (connectable text) Color) &lt;/span&gt;&lt;/p&gt; &lt;p&gt;&lt;/p&gt; &lt;p&gt;.alink&lt;span style=&quot;font-family: 宋体;&quot;&gt;Active link text color (the color of the linkable text that is being clicked) &lt;/span&gt;&lt;/p&gt; &lt;p&gt; &lt;/p&gt; &lt;p&gt;.vlink&lt;span style=&quot;font-family: 宋体;&quot;&gt;Visited link text color) (the color of the linkable text that has been clicked to visit) ) &lt;/span&gt;&lt;/p&gt; &lt;p&gt; &lt;/p&gt; &lt;p&gt; Grammar format: &lt;span style=&quot;font-family: 'Times New Roman';&quot;&gt;&lt;body text=&quot;color&quot; link=&quot;color&quot; alink=&quot;color&quot; vlink=&quot;color&quot;&gt; &lt;/span&gt;&lt;/p&gt; &lt;p&gt; &lt;/p&gt; &lt;p&gt;.leftmargin &lt;span style=&quot;font-family: 宋体;&quot;&gt;The white space on the left side of the page M p.topMargin &lt;/span&gt; &lt;/p&gt; &lt;p&gt;&lt;/p&gt; &lt;p&gt;&lt;span style=&quot;font-family: 宋体;&quot;&gt;&lt;/span&gt; &lt;/p&gt; &lt;p&gt;&lt;/p&gt; &lt;p&gt;&lt;span style=&quot;font-family: 'Times New Roman';&quot;&gt;&lt;/span&gt; &lt;/p&gt; &lt;p&gt;&lt;/p&gt; &lt;p&gt;&lt;span style=&quot;font-family: 'Times New Roman';&quot;&gt;&lt;/span&gt; &lt;span style=&quot;font-family: 宋体;&quot;&gt;&lt;/span&gt; &lt;/p&gt; &lt;p&gt; grammar format: &lt;/p&gt; &amp; lt; body leftmargin = &quot;value&quot; topmargin = &quot;value&quot; &amp; gt; &lt;p&gt;&lt;img class=&quot;anchorclass&quot; alt=&quot;Summary of commonly used tags in html&quot; &gt;&lt;/p&gt; Note: &lt;h3&gt;value&lt;strong&gt;&lt;span style=&quot;max-width:90%&quot;&gt; is the The length value is a number &lt;/span&gt;&lt;/strong&gt; &lt;/h3&gt; &lt;p&gt;&lt;/p&gt; &lt;p&gt;&lt;span style=&quot;font-family: 'Times New Roman';&quot;&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 宋体;&quot;&gt;align &lt;/span&gt; attribute &lt;span style=&quot;font-family: 'Times New Roman';&quot;&gt;&lt;/span&gt;&lt;/p&gt; &lt;p&gt; &lt;/p&gt; &lt;p&gt; Syntax: &lt;span style=&quot;font-family: 'Times New Roman';&quot;&gt;&lt;h2 align=&quot;?&quot;&gt;&lt;/span&gt;&lt;span style=&quot;font-family: 宋体;&quot;&gt;text&lt;/span&gt;&lt;span style=&quot;font-family: 'Times New Roman';&quot;&gt;&lt;/h2&gt; &lt;/span&gt;&lt;span style=&quot;font-family: 宋体;&quot;&gt;&lt;/span&gt; &lt;span style=&quot;font-family: 'Times New Roman';&quot;&gt;&lt;/span&gt; There are three attributes: &lt;span style=&quot;font-family: 宋体;&quot;&gt;left&lt;/span&gt;&lt;/p&gt;left&lt;p&gt;&lt;/p&gt;,center&lt;p&gt;&lt;span style=&quot;font-family: 'Times New Roman';&quot;&gt;center&lt;/span&gt;&lt;span style=&quot;font-family: 宋体;&quot;&gt;,right&lt;/span&gt;&lt;span style=&quot;font-family: 'Times New Roman';&quot;&gt;right&lt;/span&gt;&lt;span style=&quot;font-family: 宋体;&quot;&gt;&lt;/span&gt;&lt;/p&gt; &lt;p&gt;〈&lt;/p&gt;p&lt;p&gt;&lt;span style=&quot;font-family: 'Times New Roman';&quot;&gt;〉&lt;/span&gt;&lt;span style=&quot;font-family: 宋体;&quot;&gt;&lt;/p&gt;&lt;/span&gt; &lt;/p&gt; is a paragraph mark, The above attributes can be used to set the entire paragraph&lt;p&gt;&lt;/p&gt; &lt;p&gt;&lt;span style=&quot;font-family: 宋体;&quot;&gt;&lt;/span&gt;〈&lt;/p&gt;br&gt;&lt;p&gt;&lt;/p&gt; is a line break mark&lt;p&gt;&lt;span style=&quot;font-family: 'Times New Roman';&quot;&gt;&lt;/span&gt; &lt;/p&gt; &lt;p&gt;&lt;nobr&gt;&lt;/nobr&gt;&lt;/p&gt; is a non-line break mark and can be placed on both sides of the text&lt;p&gt;&lt;span style=&quot;font-family: 宋体;&quot;&gt; &lt;/span&gt; &lt;span style=&quot;font-family: 'Times New Roman';&quot;&gt;&lt;/span&gt;Example: &lt;/p&gt;&lt;body&gt; &lt;p&gt;&lt;/p&gt; &lt;p&gt; &lt;span style=&quot;font-family: 宋体;&quot;&gt;&lt;/span&gt;&lt;h3&gt;&lt;span style=&quot;font-family: 'Times New Roman';&quot;&gt;Jiangnan meets the Year of Li Gui&lt;/span&gt;&lt;/p&gt;&lt;/h3&gt; &lt;p&gt;&lt;/p&gt; &lt;p&gt; &lt;span style=&quot;font-family: 'Times New Roman';&quot;&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;King Qi A common sight in the house&lt;p&gt;&lt;/p&gt;&lt; br&gt; p&gt; &lt;p&gt; &lt;span style=&quot;font-family: 'Times New Roman';&quot;&gt;&lt;/span&gt; &lt;/p&gt; &lt;p&gt;&lt;/body&gt;&lt;/p&gt; &lt;p&gt; &lt;span style=&quot;font-family: 'Times New Roman';&quot;&gt;&lt;/span&gt;&lt;/p&gt;Pre-formatting: &lt;p&gt;&lt;/p&gt; &lt;p&gt; &lt;/p&gt; &lt;p&gt;&lt;pre class=&quot;brush:php;toolbar:false&quot;&gt;......</pre> </p>Browsing has the same effect as writing <p><strong> </strong></p> <p></p>Back to top<p><span style="font-family: 宋体;"></span></p> <p>List</p> <p style="text-align: right"><a href="#_labelTop"></a><img class="anchorclass" alt="Summary of commonly used tags in html" ></p> <h2> <strong></strong>1</h2>Unordered list, also known as symbol list<p></p> <p><img class="anchorclass" alt="Summary of commonly used tags in html" ></p> <h3> Grammar format: <strong><span style="font-family: 宋体;"> </span></strong><ul type=" "> The attribute of type</h3> can be selected as straight<p></p>disc<p></p>solid dot<p></p>, clrcle<p><span style="font-family: 宋体;">hollow dot</span><span style="font-family: 'Times New Roman';">, square</span><span style="font-family: 宋体;">solid box</span><span style="font-family: 'Times New Roman';"></span><span style="font-family: 宋体;"><p><li><span style="font-family: 宋体;">Text</span><span style="font-family: 'Times New Roman';"></li> </span></p> <p></p> <p><li><span style="font-family: 宋体;">Text</span><span style="font-family: 'Times New Roman';"></li> </span></p> <p></p> <p></p> <p> 2</p>Ordered list<p><img class="anchorclass" alt="Summary of commonly used tags in html" ></p> <h3><strong><span style="font-family: 宋体;">Grammar format:</span></strong></h3> <p><ol type="?" start"?"></p> <p></p> <p><li></p>Text<p></p></li> <p> </p> <p> <span style="font-family: 宋体;"></span><li><span style="font-family: 'Times New Roman';">Text </span></p></li> <p></p> <p> <span style="font-family: 宋体;"></span></ol><span style="font-family: 'Times New Roman';"></span> The value of </p> <p>type</p> is a numbered character. The optional <p></p>1...,a ...,A...,i... ,I... <p></p> <p> <span style="font-family: 宋体;"></span>start<span style="font-family: 'Times New Roman';"> is the starting value. Example: If </span></p>start<p></p> is <p><span style="font-family: 宋体;">3</span><span style="font-family: 'Times New Roman';">, then it will start from </span><span style="font-family: 宋体;">3 </span><span style="font-family: 'Times New Roman';">Start and it must be a number. </span><span style="font-family: 宋体;"></span><span style="font-family: 'Times New Roman';"></span><span style="font-family: 宋体;"></span></p> <p>3</p>Definition list<p><img class="anchorclass" alt="Summary of commonly used tags in html" ></p> <h3><strong><span style="font-family: 宋体;"><dl></span>Definition list mark</strong></h3> <p></p> <p><dt><span style="font-family: 宋体;">mark Define entry</span></p> <p></p> <p><dd><span style="font-family: 宋体;"> Mark definition content </span></p> <p> </p> <p> Grammar format: <span style="font-family: 宋体;"></span> </p> <p><dl></p> <p> </p> <p><dt></p>Text <p></p></dt> <p></p> <p><span style="font-family: 宋体;"> </span><dd><span style="font-family: 'Times New Roman';">Text content</span></p> </dd> " title="?">....</a><p></p> <p><span style="font-family: 宋体;">Attribute: </span>href <span style="font-family: 'Times New Roman';"></span>The connection target value can be </p> <p>url</p> <p>The address can also be the connection anchor </p> <p></p> <p></p>&lt ;a href="url">...</a><p> or </p> <p></p> <p></p><a href="<p>anchor</p><p>">...</a> </span></p> <p><span style="font-family: 'Times New Roman';"></span> <span style="font-family: 宋体;"></span>Back to top<span style="font-family: 'Times New Roman';"></span><span style="font-family: 宋体;"></span></p>name <p>Connection name</p> <p><span style="font-family: 宋体;"></span> </p> <p>Syntax format: </p><a name="<p><span style="font-family: 宋体;">Anchor name</span><span style="font-family: &#39;Times New Roman&#39;;">">...</a> <p> </p> <p style="text-align: right">Example: <a href="#_labelTop"><a name="abcdcf">...</a> </a><img class="anchorclass" alt="Summary of commonly used tags in html" ></p> <h2><strong>The connection to the anchor point should be: <span style="max-width:90%"></span> </strong></h2><a name=" #abcdef">....</a><p></p> <p><span style="font-family: 'Times New Roman';"></span>Back to top<span style="font-family: 宋体;"></span><span style="font-family: 'Times New Roman';"></span></p>target<p>Target window syntax format</p> <p>: <span style="font-family: 'Times New Roman';"></span> </p> <p><a href="url"target= "_blank|_self|_farent|_top|windowname">....</a></p> <p> </p> <p>-blank</p>Open a new window<p></p> <p></p> <p style="text-align: right">_self<a href="#_labelTop">The current window is open</a><img class="anchorclass" alt="Summary of commonly used tags in html" ></p> <h2><strong>Two at a time Applies only in the frame leaf <span style="font-family: 宋体;"></span> </strong></h2>_parent<p>The parent window (upper level) of the current window opens </p> <p></p> <p></p>_top<p>Opens the highest level window <span style="font-family: 宋体;"></span></p> <p></p>windowame<p>The named window Or open the connection in the frame<span style="font-family: 宋体;"></span></p> <p></p> <p>title<span style="font-family: 宋体;">Connection prompt</span></p> <p> </p> <p><a href="http://www.crazytribe.net" title="<span style="font-family: 宋体;">Open the homepage of Crazy Tribe</span><span style="font-family: &#39;Times New Roman&#39;;">"><span style="font-family: 宋体;">Crazy Tribe</span><span style="font-family: 'Times New Roman';"></a&gt " height="?" border="?" align="?"></span></p> <p></p>border<p style="text-align: right"> attribute defines the width of the picture border, the default value is <a href="#_labelTop"></a>0 <img class="anchorclass" alt="Summary of commonly used tags in html" ></p> <h2> <strong><span style="font-family: 'Times New Roman';">align</span> attribute sets the position of the text next to the picture <span style="font-family: 宋体;"></span></strong> </h2> <p> Grammar format: </p><img src="" align""> <p></p> <p> </p> <p>Optional values ​​are: <span style="font-family: 宋体;"></span> <span style="font-family: 'Times New Roman';"></span>top</p>Align the top of the picture and text <p></p> <p> <span style="font-family: 宋体;"></span>middle </p>Pictures Align the image and text in the center <p></p> <p><span style="font-family: 'Times New Roman';"></span>bottom</p>Align the bottom edge of the image and text (default) <p></p> <p> </p> <p>left</p>The image is aligned to the left, the text is wrapped around the image<p><span style="font-family: 宋体;"></span> </p> <p>right</p>The image is aligned to the right, and the text is aligned along the Picture wrapping<p><span style="font-family: 宋体;"></span></p> <p>absmiddle</p>The picture is aligned to the absolute center of the current text line<p><span style="font-family: 宋体;"></span> </p> <p>absbottom</p>The picture is aligned to the absolute bottom of the current text line<p><span style="font-family: 宋体;"></span> </p> <p>Typesetting of text</p> <p><span style="font-family: 宋体;"></span>No Line break whitespace mark </p> <p></p> <p><span style="font-family: 宋体;">Back to top</span></p> <p></p> <p>font<span style="font-family: 宋体;">Element</span></p> <p></p> <p></p>Syntax format:<p></p> <p></p><font face="<p>Font name</p><p style="text-align: right">" size="<a href="#_labelTop"></a>Font Size<img class="anchorclass"/ alt="Summary of commonly used tags in html" ></p>" color="<h2><strong>Font color<span style="max-width:90%"></span>"> <p></p> <p>The optional font size values ​​are </p>1<p></p>——<p><span style="font-family: 宋体;">7</span><span style="font-family: 'Times New Roman';">, the default is </span><span style="font-family: 宋体;">3 </span><span style="font-family: 'Times New Roman';"></span><span style="font-family: 宋体;"></span>Example: 〈 <span style="font-family: 'Times New Roman';">font face="</span></p> boldface<p></p>" size="4" color="#ff00ff">....</font> <p><span style="font-family: 'Times New Roman';"></span> <span style="font-family: 宋体;"></span><span style="font-family: 'Times New Roman';">horizontal line</span><hr> <span style="font-family: 宋体;"></span><span style="font-family: 'Times New Roman';"></span></p> <p>grammar Format: </p><hr width="<p><span style="font-family: &#39;Times New Roman&#39;;">width</span><span style="font-family: 宋体;">" align="</span><span style="font-family: &#39;Times New Roman&#39;;">alignment defaults to center</span></p>center" size="<p></p>horizontal line thickness defaults to <p><strong>2" color="<span style="font-family: &#39;Times New Roman&#39;;"></span>color</strong></p>" noshade> <p></p> <p> <span style="font-family: 'Times New Roman';"></span>noshade<span style="font-family: 宋体;">No shadow, both solid lines</span><span style="font-family: 'Times New Roman';"></span> <span style="font-family: 宋体;"></span>layer〈<span style="font-family: 'Times New Roman';">p><span></span><span style="font-family: 宋体;">two elements</span><span style="font-family: 'Times New Roman';"></span><span style="font-family: 宋体;"><p><p><span style="font-family: 宋体;"> is a block-level element, similar to the paragraph element </span><span style="font-family: 'Times New Roman';"><p></span><span style="font-family: 宋体;">. The difference is that two </span><span style="font-family: 'Times New Roman';"><p></span><span style="font-family: 宋体;"> elements will not produce two </span><span style="font-family: 'Times New Roman';"><p&gt ;</span><span style="font-family: 宋体;">The blank line between elements, </span></p> <p> </p> <p><span><span style="font-family: 宋体;"> is an inline element, which can define the attributes of some text in the paragraph </span></p> <p> </p> <p> Grammar format: </p> <p> </p> <p><p align=" " >...</p></p> <p> </p> <p>align<span style="font-family: 宋体;">Set the horizontal alignment of elements in the layer</span></p> <p> </p> <p>stule<span style="font-family: 宋体;">Set the attributes of the element application </span><span style="font-family: 'Times New Roman';">css</span><span style="font-family: 宋体;">canonical</span></p> <p> </p> <p><p><span style="font-family: 宋体;">Compatibility is a little better than </span><span style="font-family: 'Times New Roman';"><span></span><span style="font-family: 宋体;">, it is best to use </span><span style="font-family: 'Times New Roman';"><p> </span></p> <p></p> <p style="text-align: right"><a href="#_labelTop">Back to top</a><img class="anchorclass" alt="Summary of commonly used tags in html" ></p> <h2> <strong>table syntax format </strong>:</h2> <p> </p> <p><table width="" bgcolor="" background="" border="" cellspacing="" cellpadding=""></p> <p> </p> <p><tr>...<td>... .</td>.... pacing </p>The margin size of the cells in the table, the default value is two pixels<p></p><p></p><p>cellpadding</p>The spacing size between cells in the table, the default value is two pixels<p><span style="font-family: 宋体;"></span><span style="font-family: &#39;Times New Roman&#39;;"></span><span style="font-family: 宋体;">tr</span> Element </p><p></p><p> <span style="font-family: 宋体;"></span> Grammar format: </p><p> </p><p><tr align="" bgcolor="">....</tr><span style="font-family: 宋体;"></span> </p> <p>align</p> Optional values ​​for attribute alignment are as follows: <p><img class="anchorclass" alt="Summary of commonly used tags in html" >left,center,tight,</p> <h3>defaults to <strong><span style="font-family: 宋体;">left </span></strong> </h3> <p></p>bgcolor<p>Specifies the background color of the row</p> <p></p> <p></p> <p></p> <p><span style="font-family: 宋体;">td</span> element<span style="font-family: 'Times New Roman';"></span> <span style="font-family: 宋体;"></span><span style="font-family: 'Times New Roman';"></span>Grammar format:</p> <p> </p> <p><td width="<span style="font-family: 宋体;">width</span></p>" height="<p></p>height<p><img class="anchorclass"/ alt="Summary of commonly used tags in html" >" align="</p><h3>horizontal alignment<strong><span style="max-width:90%">" valign="</span></strong>vertical alignment</h3><p>" bgcolor="" background ="" rowspan="</p><p>The row span of the cell</p><p>" colapan="</p><p>The column span of the cell<span style="font-family: 宋体;"></span>">...</td> <span style="font-family: 'Times New Roman';"></span><span style="font-family: 宋体;"> </span><span style="font-family: 'Times New Roman';">align</span> attribute Optional values ​​​​are: <span style="font-family: 宋体;"></span>left, center, right <span style="font-family: 'Times New Roman';"></span><span style="font-family: 宋体;"> </span><span style="font-family: 'Times New Roman';">valign</span> Optional values ​​​​for the attribute are: <span style="font-family: 宋体;"></span>top, middle, bottom <span style="font-family: 'Times New Roman';"></span><span style="font-family: 宋体;"> </span><span style="font-family: 'Times New Roman';">rowspan</span> and </p> <p>colapan</p> <p> across rows and columns The quantity, the default is <span style="font-family: 宋体;"></span>1 <span style="font-family: 'Times New Roman';"></span></p> <p></p> <p>Back to top<span style="font-family: 宋体;"></span><span style="font-family: 'Times New Roman';"><h2><strong>input<span style="font-family: 宋体;"> element syntax format: </span></strong></h2> <p> </p> <p><input type=""></p> <p> </p> <p>type<span style="font-family: 宋体;">The optional values ​​​​of the attribute are: </span></p> <p> </p> <p>text <span style="font-family: 宋体;">Single-line text box</span> </p> <p></p> <p>Attributes: <span style="font-family: 'Times New Roman';">name </span><span style="font-family: 宋体;">Name of the text box</span></p> <p> </p> <p>value <span style="font-family: 宋体;">Initial value of the text box</span></p> <p></p> <p>size <span style="font-family: 宋体;">Length of the text box</span></p> <p></p> <p>maxlength <span style="font-family: 宋体;">Maximum length of the input string </span></p> <p> </p> <p>radio <span style="font-family: 宋体;">Radio button</span></p> <p></p> <p>Attributes: <span style="font-family: 'Times New Roman';">name </span><span style="font-family: 宋体;">Radio button name</span></p> <p> </p> <p>value <span style="font-family: 宋体;">Internal value</span></p> <p></p> <p>checked <span style="font-family: 宋体;">Default selected</span> </p> <p> </p> <p>checkbox <span style="font-family: 宋体;">check Box </span></p> <p></p> <p>Attributes: <span style="font-family: 'Times New Roman';">name </span><span style="font-family: 宋体;">checkbox name</span></p> <p> </p> <p>value <span style="font-family: 宋体;">internal value </span></p> <p> </p> <p>checked <span style="font-family: 宋体;">default selected </span></p> <p> </p> <p> reset <span style="font-family: 宋体;">Reset button</span></p> <p></p> <p> submit <span style="font-family: 宋体;">OK button</span></p> <p></p> <p>Attributes: <span style="font-family: 'Times New Roman';">name </span><span style="font-family: 宋体;">Button name</span></p> <p></p> <p>value <span style="font-family: 宋体;">Text displayed on the button</span></p> <p></p> <p>password <span style="font-family: 宋体;">Password box</span></p> <p> </p> <p>Properties and text box properties Identical </p> <p> </p> <p>file <span style="font-family: 宋体;">File field </span></p> <p> </p> <p>Attributes: <span style="font-family: 'Times New Roman';">name</span><span style="font-family: 宋体;">File field name</span></p> <p> </p> <p>size <span style="font-family: 宋体;">The length of the file field</span></p> <p></p> <p>maxlength <span style="font-family: 宋体;">The number of characters accepted by the file field Upper limit </span></p> <p></p> <p>hidden <span style="font-family: 宋体;">hidden domain</span></p> <p></p> <p>Attributes: <span style="font-family: 'Times New Roman';">name </span><span style="font-family: 宋体;">hidden domain name</span></p> <p> </p> <p>value <span style="font-family: 宋体;">default value </span></p> <p> </p> <p> image <span style="font-family: 宋体;">Picture domain</span></p> <p> </p> <p>Attributes: <span style="font-family: 'Times New Roman';"> The button to be represented by name </span><span style="font-family: 宋体;"> can be </span><span style="font-family: 'Times New Roman';">submit, reset, </span><span style="font-family: 宋体;"> or other </span><span style="font-family: 'Times New Roman';">. </span></p> <p> </p> <p>src <span style="font-family: 宋体;"></span>url <span style="font-family: 'Times New Roman';"></span>address<span style="font-family: 宋体;"></span></p> <p></p> List box<p><select&gt ; <span style="font-family: &#39;Times New Roman&#39;;"></span></p> <p></p> Grammar format: <p></p> <p></p><select></p> <p></p> <p></p>....<p></p> <p></p><option>....</option><p></p> <p> </p>... ..<p></p> <p></p></select><p></p> <p></p> <p style="text-align: right">Back to top<a href="#_labelTop"></a><img class="anchorclass" alt="Summary of commonly used tags in html" ></p> <h2>select<strong> element <span style="font-family: 宋体;"></span></strong> </h2> <p></p>Syntax format: <p><select name="" size="" multiple> </select> <span style="font-family: 'Times New Roman';"></span></p> <p></p>name <p>Specify the name of the list box<span style="font-family: 宋体;"></span></p> <p></p>size <p>Specify the number of list items displayed in the list box. If this parameter is specified, the <span style="font-family: 宋体;"></span>select<span style="font-family: 'Times New Roman';"></span> element is a list, otherwise It is a <span style="font-family: 宋体;"> drop-down list box<a href="http://www.php.cn/code/4996.html" target="_blank"> </a></span></p> <p></p>multiple <p>If this parameter is specified, it means that the list box can select multiple items, otherwise only one item can be selected<span style="font-family: 宋体;"></span></p> <p></p> <p><img class="anchorclass" alt="Summary of commonly used tags in html" ></p> <h3>option<strong>Attribute<span style="font-family: 宋体;"></span></strong> </h3> <p></p> <p>Syntax format: <span style="font-family: 'Times New Roman';"><option value="" selected></option> </span></p> <p> </p> <p>value <span style="font-family: 宋体;">The value of the list item </span></p> <p> </p> <p>selected <span style="font-family: 宋体;">If this parameter is set, this will be selected by default One item</span></p> <p></p> <p style="text-align: right"><a href="#_labelTop">Back to top</a><img class="anchorclass" alt="Summary of commonly used tags in html" ></p> <h2><strong>Multi-line text box<span style="font-family: 'Times New Roman';"><textarea> </span></strong></h2> <p></p> <p><textarea name="" cols="" rows="" wrap="off /physical/virtual" > </p>Height of text box <p></p> <p> </p> <p>wrap</p>The optional values ​​​​for the wrapping method of the text box are: <p><span style="font-family: 宋体;"></span> </p> <p>off</p>Do not save the line wrapping information <p><span style="font-family: 宋体;"></span> </p> <p>physical</p>Force the browser to send information to the <p><span style="font-family: 宋体;">web</span></p>server The text in the multi-line text box must be sent line by line, <p></p> <p> <span style="font-family: 宋体;"></span>virtual</p> to send a continuous string of words unless the user presses Enter. <p></p> <p><span style="font-family: 宋体;"></span></p>Back to top<p></p> <p><span style="font-family: 宋体;"></span>css <span style="font-family: 'Times New Roman';">Cascading Style Sheets</span><span style="font-family: 宋体;"></span></p> <p></p>Methods to introduce cascading style sheets include: <p><span style="font-family: 宋体;"> </span></p> <p></p> <p style="text-align: right"> <a href="#_labelTop">External style sheet</a><img class="anchorclass" alt="Summary of commonly used tags in html" ></p> <h2> <strong>Example: <span style="font-family: 宋体;"><head> </span></strong> </h2> <p></p><link rel="stylesheet" href="/css/default.css"><p></p> <p></p></head><p><img class="anchorclass" alt="Summary of commonly used tags in html" > </p> <h3><body> <strong></strong> </h3> <p>....</p> <p> <span style="font-family: 'Times New Roman';"></span></body></p> <p> </p> <p></html></p> <p> </p> <p>Attribute: </p>rel <p></p> is used to describe <p></p><link> <p></p>Element is here The task to be accomplished is to connect a standalone <p></p>css<p></p> file. The <p></p>href<p></p> attribute gives the <p></p>url<p></p> address of the <p><span style="font-family: 'Times New Roman';">css</span><span style="font-family: 宋体;"> file to be connected. </span><span style="font-family: 'Times New Roman';"></span> <span style="font-family: 宋体;"></span></p> font105{font:10.5pt;color:blue}<span style="font-family: 'Times New Roman';"></span> <span style="font-family: 宋体;"></span>--><span style="font-family: 'Times New Roman';"></span> <span style="font-family: 宋体;"></span></style><span style="font-family: 'Times New Roman';"></span> <span style="font-family: 宋体;"></span></head><span style="font-family: 'Times New Roman';"></span> <span style="font-family: 宋体;"></span><body>....&lt ;/body></span></p> <p></p> <p></html></p> <p></p> <p><span style="font-family: 'Times New Roman';"></span></p> <p>Element default</p> <p></p> <p></p>Format: <p><p style="font-size:10.5pt"> </p> <p></p> <p> </p> <p></p> <p></p>Imported style sheet<p></p> <p> </p> <p>〈</p>html> <p></p> <p> </p> <p><head></p> <p> </p> <p><style type="text/css"> </p> <p></p> <p><! --</p><p> </p><p>@import url(css/home.css);</p><p> </p><p>--><img class="anchorclass" alt="Summary of commonly used tags in html" ></p> <h3><strong></style></strong></h3> <p></p><body><p><span style="max-width:90%"Times New Roman';"></span> </p>.... <p></p> <p><img class="anchorclass" alt="Summary of commonly used tags in html" ></body></p> <h3> <strong></strong></html></h3> <p> </p> <p>css<span style="font-family: 'Times New Roman';">’s priority </span></p> <p> </p> <p>The closer the style definition is to the target, the higher the priority. High priority styles will inherit the lower priority. Non-overlapping definitions of priority styles but overriding overlapping definitions</p> <p></p> <p>If <span style="font-family: 'Times New Roman';">4</span><span style="font-family: 宋体;"> types of style sheets define different styles for the same element, then their priority order from high to low is, element default, inline style sheet, imported style sheet, external style sheet. </span></p> <p></p> <p><img class="anchorclass" alt="Summary of commonly used tags in html" ></p> <h3><strong>css<span style="font-family: 宋体;"> structure</span></strong></h3> <p> </p> <p>Example: <span style="font-family: 'Times New Roman';">td{font-size:10.5pt;color:#666666} </span></p> <p></p> <p>c The ss<span style="font-family: 宋体;"> style consists of two basic parts, </span> </p> <p> </p> <p> selector <span style="font-family: 'Times New Roman';"><td></span><span style="font-family: 宋体;"> and declaration </span><span style="font-family: 'Times New Roman';">{font-size:10.5pt;color:#666666} </span></p> <p> </p> <p>The declaration also consists of two parts: </p> <p> </p> <p>Attributes<span style="font-family: 'Times New Roman';"> font size , color</span><span style="font-family: 宋体;"> and value </span><span style="font-family: 'Times New Roman';">10.5pt, #666666 </span></p> <p></p> <p><img class="anchorclass" alt="Summary of commonly used tags in html" ></p> <h3><strong> selectors are divided into <span style="font-family: 'Times New Roman';">6</span><span style="font-family: 宋体;"> types</span></strong></h3> <p></p> <p>1<span style="font-family: 宋体;"> element selectors </span></p> <p> </p> <p>When on the page When multiple elements have the same style, you can define multiple elements together and separate them with commas. For example: <span style="font-family: 'Times New Roman';">td,p,li,input,select{font-size:12px;} </span></p> <p> </p> <p>2class(<span style="font-family: 宋体;"> Class </span><span style="font-family: 'Times New Roman';">)</span><span style="font-family: 宋体;"> selector </span></p> <p> </p> <p> Example: 〈<span style="font-family: 'Times New Roman';">head> </span></p> <p> </p> <p><title>....</title></p> <p> </p> <p><style type="text/ css"></p> <p></p> <p><!--</p><p></p><p>.red{font-size:10.5pt;color:#ff0000}</p><p> </p><p>--></p> <p></p> <p></style></p> <p> </p> <p></head></p> <p> </p> <p><body bgcolor="#ffffff"></p> <p> </p> <p><p class="red"><span style="font-family: 宋体;">Scholar-official Jinggangshan District Official</span><span style="font-family: 'Times New Roman';"></p> </span> </p> <p> </p> <p><p><span style="font-family: 宋体;">Nine Link Leaving Plan</span><span style="font-family: 'Times New Roman';"></p> </span></p> <p> </p> <p></body></p> <p> </p> <p>Another way is to limit the page elements to which it can be applied</p> <p></p> <p> Example: 〈<span style="font-family: 'Times New Roman';">head> </span></p> <p> </p> <p><title>....</title></p> <p> </p> <p><style type="text/css"></p> <p> </p> <p><!-- </p><p> </p><p>h1.red{color:#ff0000}</p><p> </p><p>--></p> <p> </p> <p></style></p> <p> </p> <p></head></p> <p> </p> <p><body bgcolor="# ffffff"></p> <p> </p> <p><p class="red"><span style="font-family: 宋体;">Scholar-official Jinggangshan District Official</span><span style="font-family: 'Times New Roman';"></p> </span></p> <p> </p> <p><h1 class="red"><span style="font-family: 宋体;">Nine Links Leaving Plan </span><span style="font-family: 'Times New Roman';"></h1> </span></p> <p> </p> <p></body></p> <p> </p> <p>3 id<span style="font-family: 宋体;"> selector </span></p> <p> </p> <p> is similar to <span style="font-family: 'Times New Roman';">class</span><span style="font-family: 宋体;"> selection, just add </span> <span style="font-family: 'Times New Roman';">'.'</span><span style="font-family: 宋体;">Change Into </span><span style="font-family: 'Times New Roman';">'#' </span></p> <p> </p> <p>Example: <span style="font-family: 'Times New Roman';"><body> </span></p> <p> </p> <p><head></p> <p> </p> <p><style type="text/css"></p> <p> </p> <p><! --</p><p> </p><p>#select{font-size:18px;color:#0000ff}</p><p> </p><p>--></p> <p> </p> <p></style></p> <p> </p> <p></head></p> <p> </p> <p> <body></p> <p> </p> <p><table width="250" border="1" height="50"></p> <p> </p> <p><tr></p> <p> </p>T & lt; td align = "center" id = "select" & gt; id<p> select rune <span style="font-family: 宋体;"></span> & lt;/td & gt; <span style="font-family: 'Times New Roman';"></span></p> & lt;/tr & gt; <p></p> & & lt;/table & gt; <p></p> <p></p> <p></p> </body> Replaced with <p></p>id=""<p></p> to facilitate the call of page script language<p></p> <p></p> <p></p> <p><span style="font-family: 'Times New Roman';"></span>association selector<span style="font-family: 宋体;"></span><span style="font-family: 'Times New Roman';"></span><span style="font-family: 宋体;"><body></span><span style="font-family: 'Times New Roman';"></span><span style="font-family: 宋体;"><head&gt ;</span><span style="font-family: 'Times New Roman';"></span> <span style="font-family: 宋体;"><style type="text/css"></span></p> <p></p><!--<p><img class="anchorclass"/ alt="Summary of commonly used tags in html" > </p><h3>td p{font-size:18px;color:#0000ff}<strong></strong> </h3><p>--></span></p> <p> </p> <p> </p> <p><tr></p> <p> </p> <p><td align="center"><p></p>Associative selector <p></p></p></td> <p></p> <p></p></table><p></p> <p></p><p><p>Associative selector </p> <p></p> </p> <p></p> <p></p></body><p></p> <p> </p></html><p></p> <p> </p>We set the style of the text contained in the element <p><td></p> <p>. The style will take effect only when both conditions are met, </p> <p></p> <p> </p>Pseudo-class selector<p><span style="font-family: 宋体;"></span><span style="font-family: 'Times New Roman';"> can only be used in </span>css</p> <p> selectors, but cannot be used in </p> <p>html</p> <p>selectors in code</p> <p></p> <p></p>Example: <p><span style="font-family: 宋体;"></span><span style="font-family: 'Times New Roman';">〈</span> html&gt ; </p> <p></p> <p></p><head><p></p> <p></p><style type="text/css"><p></p> <p><span style="font-family: 'Times New Roman';"><!--</span><span style="font-family: 宋体;"> </span><span style="font-family: &#39;Times New Roman&#39;;">a:link{color: #000000}</span> <span style="font-family: 宋体;"> </span></p>a:visited{color:#cccccc}<p></p> <p></p>a:hover{color:#ff0000}<p></p> <p><span style="font-family: &#39;Times New Roman&#39;;">a:active{color:#ooooff}</span><span style="font-family: 宋体;"> </span><span style="font-family: &#39;Times New Roman&#39;;">--></span><span style="font-family: 宋体;"> </span></p>&lt ;/style><p></p> <p></p></head><p></p> <p><span style="font-family: 'Times New Roman';"><body></span></p> <p></p><p><a href="#"><p>association selector</p> <p></a> <p> </p> <p></p> <p></p><p><a href="#"><p>association selector</p> <p></a><p> </p> <p></p> <p></p><p><a href="#"><p>Association Selector</p> <p></a><p> a > Otherwise it will cause the connection on the page to Color chaos</p> <p></p> <p></p> <p></p> <h3><strong>Pseudo-element selector</strong></h3> <p> is similar to the definition of pseudo-class selector. Currently, there are two supported by most browsers: first-line pseudo-element (<span style="font-family: 'Times New Roman';">first-line</span><span style="font-family: 宋体;">) and first-character pseudo-element </span><span style="font-family: 'Times New Roman';">(first -letter)</span><span style="font-family: 宋体;"> is used to achieve the effect of capitalizing the first line and sinking the first line</span></p> <p>Example: the first line</p> <p><html></p> <p><head></p> <p><style></p> <p><!- -</p><p>p:first-line{color:red;font-size:20pt}</p><p>--> </p> <p></style></p> <p></hesd> </p> <p><body></p> <p><p&gt ;dfgsadfgsdfgsdfgsdfgsdfgsdfgsdfgsdfgsdfgsdf...</p> </p> <p></body> </p> <p></html></p> <p>The length changes with the size of the browser window </p> <p>First word</p> <p><html&g t;</p> <p><head> </p> <p><style></p> <p><!--</p><p>p:first-letter{color:red;font-size:50pt;float:left;}</p><p>--></p> <p></style></p> <p></hem t;</p> <p>Both of the above can only be applied On block elements</p> <p></p>Back to top<p></p> <p></p> <p>css</p>Rules<p><a href="#_labelTop" style="text-align: right;"></a><img class="anchorclass" alt="Summary of commonly used tags in html" > </p>1.<h2>Inherit<strong><span style="max-width:90%"></span></strong>Example: </h2><html><p><strong><span style="font-family: 宋体;">< head></span></strong>< style type="text/css"></p> <p><!--<span style="font-family: &#39;Times New Roman&#39;;"></span>td{font-size:12pt}</p><p>p{color:red}</p><p>--></p> <p></style></p> <p> </hem ;</p> <p><p>css</p>rules<p></p></p><p></p> <p></td> </p> <p></table></p> <p></body> </p> <p></html> </p> <p>< p></p> is the most advanced <p><span style="font-family: 宋体;"><td></span><span style="font-family: 'Times New Roman';">two sub-level </span></p>css<p></p> are used on an attribute element, the same coverage, different inheritance, <p></p> <p> </p>2.<p>combination</p> <p><span style="font-family: 宋体;"> </span>Example<span style="font-family: 'Times New Roman';">:td{font-size:12pt}</span><span style="font-family: 宋体;"></span>p1{font-size:12pt}<span style="font-family: 'Times New Roman';"></span>After combination<span style="font-family: 宋体;"></span>td,.p1{font-size:12pt}</p> <p> <strong>3.<span style="font-family: 宋体;">Layering</span></strong></p> <p>After defining it in the style, define it in the table attribute <span style="font-family: 'Times New Roman';"></span><html></p> <p><head></p> <p><style type="text/css"></p> <p><!--</p><p>red {color:#ff0000 limportant}<strong><span style="font-family: 宋体;">--></style></p> <p></hesd></p> <p><body> </p> <p><table width="300" border="1" height= "150"></p> <p><tr> </p> <p><td align="center" style="color:#0000ff" class="red"></p>The local magistrate<p></p></td><p> </p> <p></tr> </p> <p></table> </p> <p></body></p> <p></html></p> <p> </p>css<p>unit<span style="font-family: 宋体;"></span><span style="font-family: 'Times New Roman';"></span> divided into four categories: </p> <p>1 </p> Unit of length<p></p> <p>The value can be an integer, a decimal, a positive number, a negative number, </p>0<p></p>, followed by the unit (don’t use negative values ​​lightly)<p><strong><span style="font-family: 宋体;">Conversion relationship: </span></strong>1in(</p>inch<p></p>)=6pc(<p><span style="font-family: 宋体;">pie</span> </p> <p>1in(<span style="font-family: 'Times New Roman';">inch</span><span style="font-family: 宋体;">)=72pt(</span></p>pound<p></p>)<p><span style="font-family: 宋体;"><p>1in(<span style="font-family: 宋体;">inch</span><span style="font-family: 'Times New Roman';">)=2.54(</span><span style="font-family: 宋体;">cm</span><span style="font-family: 'Times New Roman';">)</span></p> <p>1cm(<span style="font-family: 宋体;">cm</span><span style="font-family: 'Times New Roman';">)=10mm(</span><span style="font-family: 宋体;">mm</span><span style="font-family: 'Times New Roman';">)</span></p> <p>1cm(<span style="font-family: 宋体;">cm</span> <span style="font-family: 'Times New Roman';">)=0.3937(</span> <span style="font-family: 宋体;">inch</span><span style="font-family: 'Times New Roman';">)</span></p> <p>1pt(<span style="font-family: 宋体;">pound</span><span style="font-family: 'Times New Roman';">)=1/72in(</span><span style="font-family: 宋体;">inch</span><span style="font-family: 'Times New Roman';">)=0.2478mm(</span><span style="font-family: 宋体;">mm</span><span style="font-family: 'Times New Roman';">)</span></p> <p>1pc(<span style="font-family: 宋体;">pie</span> <span style="font-family: 'Times New Roman';">)=1/6in (</span><span style="font-family: 宋体;">inch</span><span style="font-family: 'Times New Roman';">)=</span><span style="font-family: 宋体;">The size of China’s new No. 4 typeface</span></p> <p>2 <span style="font-family: 宋体;">Percent unit</span></p> <p>3 <span style="font-family: 宋体;">Color unit</span></p> <p>4 url<span style="font-family: 宋体;">Unit</span></p> <p><a href="#_labelTop" style="text-align: right;">Back to top</a> <img class="anchorclass" alt="Summary of commonly used tags in html" ></p> <h2>p <span style="font-family: 宋体;">Attributes</span> </h2> <p>color: #999999 <span style="font-family: 宋体;">Text color</span></p> <p>font-family: <span style="font-family: 宋体;">Song style font</span></p> <p>font-size: 10pt <span style="font-family: 宋体;">Text size</span></p> <p>font-style:itelic <span style="font-family: 宋体;">Text italic</span></p> <p> font-variant:small-caps <span style="font-family: 宋体;">small font</span></p> <p><a href="http://www.php.cn/wiki/865.html" target="_blank">letter-spacing</a> : 1pt <span style="font-family: 宋体;">text spacing</span></p> <p>line-height : 200% <span style="font-family: 宋体;">set line height</span></p> <p>font-weight:bold <span style="font-family: 宋体;">text bold</span> </p> <p><a href="http://www.php.cn/wiki/869.html" target="_blank">vertical-align</a>:sub <span style="font-family: 宋体;">subscript</span></p> <p>vertical-align:super <span style="font-family: 宋体;">superscript</span></p> <p><a href="http://www.php.cn/wiki/859.html" target="_blank">text-decoration</a>:line-through <span style="font-family: 宋体;">add</span><span style="font-family: 'Times New Roman';">?h</span><span style="font-family: 宋体;">except line</span></p> <p> text-decoration:overline <span style="font-family: 宋体;">Add top line</span> </p> <p>text-decoration:underline <span style="font-family: 宋体;">Add underline</span></p> <p>text-decoration:none ?h<span style="font-family: 宋体;">Except connect underline</span></p> <p><a href="http://www.php.cn/wiki/863.html" target="_blank">text-transform</a> : capitalize <span style="font-family: 宋体;">Capitalize the first word</span></p> <p>text-transform : uppercase <span style="font-family: 宋体;">English capital</span></p> <p>text-transform : lowercase <span style="font-family: 宋体;">English writing</span></p> <p>text-align:right <span style="font-family: 宋体;">Text</span><span style="font-family: 'Times New Roman';">*</span><span style="font-family: 宋体;">right aligned</span></p> <p>text-align:left <span style="font-family: 宋体;">Text</span><span style="font-family: 'Times New Roman';">* </span><span style="font-family: 宋体;">Left alignment</span></p> <p>text-align:center <span style="font-family: 宋体;">Text-center alignment</span></p> <p>These are some simple text effects that can be applied to <span style="font-family: 'Times New Roman';">css</span><span style="font-family: 宋体;"> pages. </span></p> <p style="text-align: right"><a href="#_labelTop">Back to top</a><img class="anchorclass" alt="Summary of commonly used tags in html" ></p> <h2> <strong>Background</strong> </h2> <p>TEXTAREA STYLE="border:1px dashed pink"></p> <p>solid line </p> <p><TEXTAREA STYLE="border:1px solid pink"></p> <p> <br></p></span></p> </li></ul><p>The above is the detailed content of Summary of commonly used tags in html. For more information, please follow other related articles on the PHP Chinese website!</p></div><div class="nphpQianMsg"><div class="clear"></div></div><div class="nphpQianSheng"><span>Statement:</span><div>The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn</div></div></div><div class="nphpSytBox"><span>Previous article:<a class="dBlack" title="Summary and sharing of common global attributes" href="http://m.php.cn/faq/367595.html">Summary and sharing of common global attributes</a></span><span>Next article:<a class="dBlack" title="Summary and sharing of common global attributes" href="http://m.php.cn/faq/367598.html">Summary and sharing of common global attributes</a></span></div><div class="nphpSytBox2"><div class="nphpZbktTitle"><h2>Related articles</h2><em><a href="http://m.php.cn/article.html" class="bBlack"><i>See more</i><b></b></a></em><div class="clear"></div></div><ul class="nphpXgwzList"><li><b></b><a href="http://m.php.cn/faq/348757.html" title="Summary of Html knowledge" class="aBlack">Summary of Html knowledge</a><div class="clear"></div></li><li><b></b><a href="http://m.php.cn/faq/348804.html" title="How to learn HTML quickly" class="aBlack">How to learn HTML quickly</a><div class="clear"></div></li><li><b></b><a href="http://m.php.cn/faq/348873.html" title="The difference between html xhtml xml" class="aBlack">The difference between html xhtml xml</a><div class="clear"></div></li><li><b></b><a href="http://m.php.cn/faq/348884.html" title="The difference between src and href attributes" class="aBlack">The difference between src and href attributes</a><div class="clear"></div></li><li><b></b><a href="http://m.php.cn/faq/348902.html" title="About HTML5 and CSS replacement use" class="aBlack">About HTML5 and CSS replacement use</a><div class="clear"></div></li></ul></div></div><div class="nphpFoot"><div class="nphpFootBg"><ul class="nphpFootMenu"><li><a href="http://m.php.cn/"><b class="icon1"></b><p>Home</p></a></li><li><a href="http://m.php.cn/course.html"><b class="icon2"></b><p>Course</p></a></li><li><a href="http://m.php.cn/wenda.html"><b class="icon4"></b><p>Q&A</p></a></li><li><a href="http://m.php.cn/login"><b class="icon5"></b><p>My</p></a></li><div class="clear"></div></ul></div></div><div class="nphpYouBox" style="display: none;"><div class="nphpYouBg"><div class="nphpYouTitle"><span onclick="$('.nphpYouBox').hide()"></span><a href="http://m.php.cn/"></a><div class="clear"></div></div><ul class="nphpYouList"><li><a href="http://m.php.cn/"><b class="icon1"></b><span>Home</span><div class="clear"></div></a></li><li><a href="http://m.php.cn/course.html"><b class="icon2"></b><span>Course</span><div class="clear"></div></a></li><li><a href="http://m.php.cn/article.html"><b class="icon3"></b><span>Article</span><div class="clear"></div></a></li><li><a href="http://m.php.cn/wenda.html"><b class="icon4"></b><span>Q&A</span><div class="clear"></div></a></li><li><a href="http://m.php.cn/dic.html"><b class="icon6"></b><span>Dictionary</span><div class="clear"></div></a></li><li><a href="http://m.php.cn/course/type/99.html"><b class="icon7"></b><span>Manual</span><div class="clear"></div></a></li><li><a href="http://m.php.cn/xiazai/"><b class="icon8"></b><span>Download</span><div class="clear"></div></a></li><li><a href="http://m.php.cn/faq/zt" title="Topic"><b class="icon12"></b><span>Topic</span><div class="clear"></div></a></li><div class="clear"></div></ul></div></div><div class="nphpDing" style="display: none;"><div class="nphpDinglogo"><a href="http://m.php.cn/"></a></div><div class="nphpNavIn1"><div class="swiper-container nphpNavSwiper1"><div class="swiper-wrapper"><div class="swiper-slide"><a href="http://m.php.cn/" >Home</a></div><div class="swiper-slide"><a href="http://m.php.cn/article.html" class="hover">Article</a></div><div class="swiper-slide"><a href="http://m.php.cn/wenda.html" >Q&A</a></div><div class="swiper-slide"><a href="http://m.php.cn/course.html" >Course</a></div><div class="swiper-slide"><a href="http://m.php.cn/faq/zt" >Topic</a></div><div class="swiper-slide"><a href="http://m.php.cn/xiazai" >Download</a></div><div class="swiper-slide"><a href="http://m.php.cn/game" >Game</a></div><div class="swiper-slide"><a href="http://m.php.cn/dic.html" >Dictionary</a></div><div class="clear"></div></div></div><div class="langadivs" ><a href="javascript:;" class="bg4 bglanguage"></a><div class="langadiv" ><a onclick="javascript:setlang('zh-cn');" class="language course-right-orders chooselan " href="javascript:;"><span>简体中文</span><span>(ZH-CN)</span></a><a onclick="javascript:;" class="language course-right-orders chooselan chooselanguage" href="javascript:;"><span>English</span><span>(EN)</span></a><a onclick="javascript:setlang('zh-tw');" class="language course-right-orders chooselan " href="javascript:;"><span>繁体中文</span><span>(ZH-TW)</span></a><a onclick="javascript:setlang('ja');" class="language course-right-orders chooselan " href="javascript:;"><span>日本語</span><span>(JA)</span></a><a onclick="javascript:setlang('ko');" class="language course-right-orders chooselan " href="javascript:;"><span>한국어</span><span>(KO)</span></a><a onclick="javascript:setlang('ms');" class="language course-right-orders chooselan " href="javascript:;"><span>Melayu</span><span>(MS)</span></a><a onclick="javascript:setlang('fr');" class="language course-right-orders chooselan " href="javascript:;"><span>Français</span><span>(FR)</span></a><a onclick="javascript:setlang('de');" class="language course-right-orders chooselan " href="javascript:;"><span>Deutsch</span><span>(DE)</span></a></div></div><script> var swiper = new Swiper('.nphpNavSwiper1', { slidesPerView : 'auto', observer: true,//修改swiper自己或子元素时,自动初始化swiper observeParents: true,//修改swiper的父元素时,自动初始化swiper }); </script></div></div><!--顶部导航 end--><script>isLogin = 0;</script><script type="text/javascript" src="/static/layui/layui.js"></script><script type="text/javascript" src="/static/js/global.js?4.9.47"></script></div><script src="https://vdse.bdstatic.com//search-video.v1.min.js"></script><link rel='stylesheet' id='_main-css' href='/static/css/viewer.min.css' type='text/css' media='all'/><script type='text/javascript' src='/static/js/viewer.min.js?1'></script><script type='text/javascript' src='/static/js/jquery-viewer.min.js'></script><script>jQuery.fn.wait = function (func, times, interval) { var _times = times || -1, //100次 _interval = interval || 20, //20毫秒每次 _self = this, _selector = this.selector, //选择器 _iIntervalID; //定时器id if( this.length ){ //如果已经获取到了,就直接执行函数 func && func.call(this); } else { _iIntervalID = setInterval(function() { if(!_times) { //是0就退出 clearInterval(_iIntervalID); } _times <= 0 || _times--; //如果是正数就 -- _self = $(_selector); //再次选择 if( _self.length ) { //判断是否取到 func && func.call(_self); clearInterval(_iIntervalID); } }, _interval); } return this; } $("table.syntaxhighlighter").wait(function() { $('table.syntaxhighlighter').append("<p class='cnblogs_code_footer'><span class='cnblogs_code_footer_icon'></span></p>"); }); $(document).on("click", ".cnblogs_code_footer",function(){ $(this).parents('table.syntaxhighlighter').css('display','inline-table');$(this).hide(); }); $('.nphpQianCont').viewer({navbar:true,title:false,toolbar:false,movable:false,viewed:function(){$('img').click(function(){$('.viewer-close').trigger('click');});}}); </script></body></html>