HTML China supports the Optgroup tag of the category Select drop-down box

黄舟
Release: 2017-07-03 09:39:28
Original
2065 people have browsed it

Use the Optgroup tag, which is not commonly used in HTML, to classify the options of the Select drop-down box. Maybe you don’t know it yet. In fact, among the tags that come with the HTML language, there are many ignored tags like this. Sometimes they The functions that can be completed are even better than those that we can only complete after half a day of coding. There is a function of using the Optgroup tag that is not commonly used in HTML to classify the options of the Select drop-down box. Maybe you don’t know it yet. , in fact, among the tags that come with the HTML language, there are many ignored tags like this. Sometimes the functions they can complete are even better than the ones we can’t complete even after writing half a day of code. Friends who are interested need to study it. .

<title>可以分类显示的Select下拉框丨PHPhtm网页特效|www.PHPhtm.com</title>
<select>
    <optgroup label="WEB编程">
        <option>ASP</option>
        <option>PHP</option>
        <option>Ajax</option>
    </optgroup>
    <optgroup label="WinForm编程">
        <option>VB</option>
        <option>VC</option>
        <option>C#</option>
        <option>Delphi</option>
    </optgroup>
</select>

<br><br>
<p align="center">本特效由 <a href="http://www.phphtm.com">PHPhtm网页特效</a>收集于互联网,只为兴趣与学习交流,不作商业用途。</p>
Copy after login

The above is the detailed content of HTML China supports the Optgroup tag of the category Select drop-down box. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!