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 example of Linux all-round system monitoring tool dstat

All-round system monitoring tool dstat dstat is a...

MySQL dual-machine hot standby implementation solution [testable]

Table of contents 1. Concept 2. Environmental Des...

Javascript scope and closure details

Table of contents 1. Scope 2. Scope Chain 3. Lexi...

Detailed explanation of Docker working mode and principle

As shown in the following figure: When we use vir...

OpenLayers realizes the method of aggregate display of point feature layers

Table of contents 1. Introduction 2. Aggregation ...

Install and configure ssh in CentOS7

1. Install openssh-server yum install -y openssl ...

Example of using CSS3 to achieve shiny font effect when unlocking an Apple phone

0. Introduction August 18, 2016 Today, I noticed ...

How to implement hot deployment and hot start in Eclipse/tomcat

1. Hot deployment: It means redeploying the entir...

HTTPS Principles Explained

As the cost of building HTTPS websites decreases,...

Four completely different experiences in Apple Watch interaction design revealed

Today is still a case of Watch app design. I love...

How to turn a jar package into a docker container

How to turn a jar package into a docker container...

Example code for using Nginx to implement 301 redirect to https root domain name

Based on SEO and security considerations, a 301 r...

JS 4 super practical tips to improve development efficiency

Table of contents 1. Short circuit judgment 2. Op...

MySQL online DDL tool gh-ost principle analysis

Table of contents 1. Introduction 1.1 Principle 1...

Implementation of Nginx configuration of multi-port and multi-domain name access

To deploy multiple sites on a server, you need to...