Optgroup is used in the select tag to make the drop-down list content more organized. Copy code The code is as follows:<select> <optgroup label="aaa"> <option>Distinguish right from wrong</option> <option>Distinguish right from wrong</option> <option>Distinguish right from wrong</option> </optgroup> <optgroup style="color:#C30" label="bbb"> <option>Distinguish right from wrong</option> <option>Distinguish right from wrong</option> <option>Distinguish<br/>right from wrong</option> </optgroup> </select> sub superscript The sup subscript can be used with <em> for annotations Used together with the dbo dir flag, you can change the output direction of text, right -> left Tip: You can modify some of the code before running |
<<: How to use JavaScript to implement sorting algorithms
>>: Comparative Analysis of MySQL Binlog Log Processing Tools
1. Inline reference: used directly on the label, ...
1. Write Shell script crontab.sh #!/bin/bash step...
When the front-end and back-end interact, sometim...
This article example shares the specific code of ...
html,address, blockquote, body,dd,div, dl,dt,fiel...
This article example shares the specific code of ...
engine Introduction Innodb engine The Innodb engi...
Table of contents 1. Vue initialization vue entry...
Table of contents 1. What is nginx? 2. What can n...
1. The startup menu is to move the cursor to the ...
Table of contents 1. Implement the component time...
Preface Dockerfile is a script interpreted by the...
Preface In the MySQL database, sometimes we use j...
When making a web page, we usually need to consid...
Being a web designer is not easy. Not only do you...