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标签的用法和属性实例解析的详细内容,更多文章请关注木庄网络博客

返回前面的内容

相关阅读 >>

值得收藏的11个对开发有帮助的 js 技巧

html如何清除缓存

html tfoot标签怎么用

html怎么实现下拉菜单

html文本标签

html如何转换为pdf

html超链接字体颜色怎么改

html怎么禁止缓存

html如何给背景加链接

html的<sup>标签有什么用

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




打赏

取消

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

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

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

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

评论

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