<div> ... </div>


عنصر لتجميع وتنسيق عناصر HTML معًا.

<!DOCTYPE html>

<html lang="en">

<head>

<meta charset="UTF-8">

<meta name="viewport" content="width=device-width, initial-scale=1.0">

<title>Inline CSS Div Example</title>

</head>

<body>

<div style="background-color: #f0f0f0; padding: 20px; border: 1px solid #ccc; border-radius: 5px;">

<h2 style="color: #333; margin-top: 0;">Div Container Title</h2>

<p style="font-size: 16px; line-height: 1.5; color: #555;">

This is an example of a div element styled with inline CSS. The div serves as a container for grouping related content and applying visual styles directly within the HTML.

</p>

</div>

</body>

</html>

Inline CSS Div Example

Div Container Title

This is an example of a div element styled with inline CSS. The div serves as a container for grouping related content and applying visual styles directly within the HTML.