HTML uncommon tags optgroup, sub, sup and bdo example code

HTML uncommon tags optgroup, sub, sup and bdo example code
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

Recommend

Detailed explanation of SSH password-free login configuration under Linux

Assume there are two Linux servers A and B, and w...

Detailed Introduction to MySQL Innodb Index Mechanism

1. What is an index? An index is a data structure...

How to dynamically add ports to Docker without rebuilding the image

Sometimes you may need to modify or add exposed p...

Nginx stream configuration proxy (Nginx TCP/UDP load balancing)

Prelude We all know that nginx is an excellent re...

Explanation of nginx load balancing and reverse proxy

Table of contents Load Balancing Load balancing c...

How to migrate mysql storage location to a new disk

1. Prepare a new disk and format it with the same...

MySQL uses SQL statements to modify table names

In MySQL, you can use the SQL statement rename ta...

How to make a website look taller and more designed

“How to make a website look high-end? Or more des...

Improvements to the web server to improve website performance

<br />In the first section of this series, w...

Summary of knowledge points about events module in Node.js

Through the study and application of Node, we kno...

Use docker to build kong cluster operation

It is very simple to build a kong cluster under t...

Vue implements local storage add, delete and modify functions

This article example shares the specific code of ...

How to recover accidentally deleted messages files in Linux

If there are files that are being used by a proce...

Detailed explanation of Js class construction and inheritance cases

The definition and inheritance of classes in JS a...