html optgroup标签是什么意思?关于html optgroup标签的用法和属性实例解析


当前第2页 返回上一页

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 

<html

    <head

        <title>optgroup</title

        <meta http-equiv="keywords" content="keyword1,keyword2,keyword3"

        <meta http-equiv="description" content="this is my page"

        <meta http-equiv="content-type" content="text/html; charset=UTF-8"

    </head

    <body

        <select

            <optgroup label="Java"

                <option value="jsp Servlet">jsp Servlet</option

                <option value="javaEE">javaEE</option

            </optgroup

            <optgroup label=".Net"

                <option value="aspx">aspx</option

                <option value="C#">C#</option

            </optgroup

        </select

    </body

</html>

浏览器支持

所有主流浏览器都支持 <optgroup> 标签。

全局属性

<optgroup> 标签支持 HTML 中的全局属性。

事件属性

<optgroup> 标签支持 HTML 中的事件属性。

【相关推荐】

html abbr标签是什么意思?html abbr标签的具体用法详解

html address标签怎么用?html address标签的使用方法详解

以上就是html optgroup标签是什么意思?关于html optgroup标签的用法和属性实例解析的详细内容,更多文章请关注木庄网络博客

返回前面的内容

相关阅读 >>

几种关于html和css的使用方法

html基础:文档与网站架构

html中col标签中的汉字如何居中?html col标签的基本使用(内有实例)

html中怎么把表格居中

如何打开html文件

什么是html属性

利用html实现进度条效果的方法

html怎么使文本框不可编辑

html中段落是通过什么定义的

html figure标签怎么用

更多相关阅读请进入《optgroup》频道 >>




打赏

取消

感谢您的支持,我会继续努力的!

扫码支持
扫码打赏,您说多少就多少

打开支付宝扫一扫,即可进行扫码打赏哦

分享从这里开始,精彩与您同在

评论

管理员已关闭评论功能...