Home > Web Front-end > HTML Tutorial > HTML Block Elements

HTML Block Elements

王林
Release: 2024-09-04 16:18:49
Original
753 people have browsed it

Html comprises various elements that will act as a building block of every web page. Different viewpoints exist for each web page, and both the front and back ends will implement logic. Html will have user-defined or customized requirements highlighting web pages like CSS, bootstrap frameworks, etc. In general, CSS style divides HTML elements into two categories for its purpose: 1. block-level elements and 2. inline elements. We already discussed previous articles like span and div element is used for inline elements in HTML and

tag is used for block-level elements in HTML.

Syntax:

<html>
<body>
<div>
----------codes------
----------------------
</div>
</body>
</html>
Copy after login

In general, every HTML tag has its predefined structures and features. Block elements in HTML have different tags we will use in the documents. Some of the tags are listed below.

Tags:

,
source:php
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