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

Summary of four ways to introduce CSS (sharing)

1. Inline reference: used directly on the label, ...

How to implement second-level scheduled tasks with Linux Crontab Shell script

1. Write Shell script crontab.sh #!/bin/bash step...

Get / delete method to pass array parameters in Vue

When the front-end and back-end interact, sometim...

Vuex implements simple shopping cart function

This article example shares the specific code of ...

XHTML language default CSS style

html,address, blockquote, body,dd,div, dl,dt,fiel...

Vue implements login type switching

This article example shares the specific code of ...

In-depth explanation of MySQL learning engine, explain and permissions

engine Introduction Innodb engine The Innodb engi...

A brief discussion on the whole process of Vue's first rendering

Table of contents 1. Vue initialization vue entry...

Learn the basics of nginx

Table of contents 1. What is nginx? 2. What can n...

How to reset your Linux password if lost

1. The startup menu is to move the cursor to the ...

Vue sample code for implementing two-column horizontal timeline

Table of contents 1. Implement the component time...

Docker Basic Tutorial: Detailed Explanation of Dockerfile Syntax

Preface Dockerfile is a script interpreted by the...

Detailed explanation of the error problem of case when statement

Preface In the MySQL database, sometimes we use j...

A quick solution to the problem of PC and mobile adaptation

When making a web page, we usually need to consid...

50 Super Handy Tools for Web Designers

Being a web designer is not easy. Not only do you...