HTML
and
##HTMLList
HTMLClass
HTML elements can be combined using
and.
HTML Block Element
##MostHTMLelements are defined as block-level elements orinline elements.
Editor's note:"Block-level elements"Translated asblock level element,"inline element"is translated asinline element.
Block-level elements usually start (and end) with a new line when displayed by the browser.
##Example:
,
## Example:
,
,,HTML Element ##HTML Element is A block-level element that is a container that can be used to combine otherHTMLelements. The element has no specific meaning. In addition, since it is a block-level element, the browser will display line breaks before and after it.If used with CSS, # The ## element can be used to style large blocks of contentattributes. Another common use of theelement is in document layout. It replaces the old-fashioned way of usingTablesto define layouts. Using the element for document layout is not a correct use of tables.HTMLElement ##HTMLTheelement is an inline element that can be used as a container for text. Theelement also has no specific meaning. ##When used withCSS,Theelement can be used to set style attributes for portions of text.
The above is the detailed content of Detailed introduction to div and span html block-level elements in html5. For more information, please follow other related articles on the PHP Chinese website!
Previous article:Technical problems encountered by HTML5 file upload plug-in
Next article:Detailed graphic and text explanation of escaping entity characters, metadata, jumps and global attributes in HTML5
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
Latest Articles by Author
Latest Issues
Related Topics
More>
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
|