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
Preface If CSS is the basic skill of front-end de...
Because frameset and body are on the same level, y...
Docker-compose deployment configuration jenkins 1...
Table of contents 1. Source code 1.1 Monorepo 1.2...
Table of contents 1. Advantages of proxy vs. Obje...
Table of contents Basic syntax for multi-table jo...
The first step is to unzip the compressed package...
<base target=_blank> changes the target fram...
When configuring web.xml for tomcat, servlet is a...
Table of contents 1. async 2. await: 3. Comprehen...
Preface I had previously enabled Docker's 237...
Preface meta is an auxiliary tag in the head area...
This article shares with you the specific code of...
Remark: The amount of data in this article is 1 m...
Table of contents Preface Fix infinite loop in fo...