当前位置: 代码迷 >> Java Web开发 >> 一下代码option处均报错,请求解决
  详细解决方案

一下代码option处均报错,请求解决

热度:330   发布时间:2011-05-15 20:41:22.0
一下代码option处均报错,请求解决
<span fckLang="DlgDocDocType">Document Type Heading</span><br>
                                    <select id="selDocType" name="selDocType" onchange="CheckOther( this, 'txtDocType' );">
                                        <option value="" selected></option>
                                        <option value='<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">'>HTML
                                            4.01 Transitional</option>
                                        <option value='<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">'>HTML
                                            4.01 Strict</option>
                                        <option value='<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">'>HTML
                                            4.01 Frameset</option>
                                        <option value='<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">'>XHTML
                                            1.0 Transitional</option>
                                        <option value='<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">'>XHTML
                                            1.0 Strict</option>
                                        <option value='<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">'>XHTML
                                            1.0 Frameset</option>
                                        <option value='<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">'>XHTML
                                            1.1</option>
                                        <option value='<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">'>HTML 3.2</option>
                                        <option value='<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">'>HTML 2.0</option>
                                        <option value="..." fckLang="DlgOpOther">&lt;Other&gt;</option>
                                    </select>
搜索更多相关主题的帖子: PUBLIC  HTML  

----------------解决方案--------------------------------------------------------
错误信息:
Multiple annotations found at this line:
    - Invalid character used in text string ('>HTML 4.01 Transitional).
    - Invalid location of tag (HTML).
    - Start tag (<option>) not closed.

----------------解决方案--------------------------------------------------------
  相关解决方案