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
This article shares the specific code of jQuery t...
In daily work, we often need to view logs. For ex...
This article originated from the homework assignm...
Table of contents introduction scroll Element.scr...
Table of contents 1. What is grub encryption 2. g...
We often encounter this problem: how to use CSS t...
Table of contents What is a skeleton screen How t...
Disable right-click menu <body oncontextmenu=s...
Table of contents 1. Anonymous slots 2. Named slo...
【content】: 1. Use background-image gradient style...
1 Problem Description Vue3's combined API can...
Introduction MySQL achieves high availability of ...
Table of contents Preface Check and uninstall Ope...
Ubuntu 20.04 does not have root login enabled by ...
Docker is a management tool that uses processes a...