HTML Element Categories(html元素分类)
来源:互联网 发布:sqlserver海量数据查询 编辑:程序博客网 时间:2024/05/01 11:02
It is important to be aware, when using HTML and style sheets that HTML elements are categorized into several categories. Some style properties apply to some categories of elements and not to others. The following types of elements exist:
- Block - Include a line break before and after the element.
- Inline - Included with the text as part of a line.
- List Item - Elements that support providing a list of items. List item elements are block level elements.
Block HTML Elements
A block with centered contents is definedName Description Comment ADDRESSSupplies contact information for the document-BLOCKQUOTEUsed to quote in block form-CENTERDepreciated-DIVA container allowing specific style to be added to a block of text.-DIRA container allowing specific style to be added to a block of text.-FRAMESETA container allowing multiple frames (HTML documents) to be placed on a web browser.-H1, H2, H3, H4, H5, H6Headings-HRHorizontal rule-ISINDEXAn input prompt for a single line of textDepreciatedNOFRAMESAlternate content for browsers that do not support frames.-NOSCRIPTAlternate content for browsers that cannot run script programs-PParagraph - Should not contain other block elements including tables, but may contain list elements-PREPreformatted text is rendered with spaces and carriage returns as typed.-TABLEUsed to present an ordered set of data. Table subelements work as block elements.Includes table sub elementsFORMUsed to present a form to the client. Form subelements work as block elements.-
List item elements are also considered to be block elements.
List-item Elements
Block/Inline HTML Elements
The elements in this list may be considered block or inline elements, depending on how they are used. They are considered inline elements if used inside a paragraph (P) or another inline element.
-Name Description Purpose Comment APPLETFor placing Java applets in the page.-(Depreciated)BUTTONUsed to define a FORM submit, reset, or push button.--DELUsed to indicate deleted contentPhraseBoth a block and inline elementIFRAMEInline frame-(Depreciated)INSMarks inserted contentPhraseBoth a block and inline elementMAPEstablishes an image map to be used with an IMG or OBJECT element--OBJECTUsed to include applets, images, videos and sound on the web page.--SCRIPTDefines a script to be run on the client computer.--
Inline HTML Elements
- HTML Element Categories(html元素分类)
- HTML元素分类
- html中元素分类
- Html元素分类
- 【Html】元素分类
- html元素的分类
- HTML的元素分类
- html的元素分类
- Html标签元素分类
- html元素分类
- HTML 元素分类概述
- HTML元素分类
- html元素分类
- HTML元素分类
- html元素的分类
- html元素分类
- HTML标签元素分类(HTML基础知识)
- HTML笔记(元素分类)
- linux下用chmod修改文件为可执行文件
- ListView中的ITEM从最底部开始显示,就加2属性即可
- 通过 ulimit 改善系统性能
- WinIO的操作类
- Wow64DisableWow64FsRedirection 读路径多线程崩溃没法找?
- HTML Element Categories(html元素分类)
- 如何高效写公式
- [转]Java IO流分析整理
- Silverlight3D VB实现
- 写代码时的一些错误
- 如何去掉rose启动时版本提示
- Js 获取客户端操作系统类型
- 【phpcms-v9】phpcms-v9中后台弹窗所使用的js插件
- Eclipse快捷键大全