Element និមួយៗនៅក្នុងភាសា HTML មានលក្ខណបង្ហាញ (display) ពីរប្រភេទគឺ លក្ខណបង្ហាញប្រភេទ block និងលក្ខណៈបង្ហាញប្រភេទ inline ។ យ៉ាងណាម៉ិញ element ដែលមានលក្ខណៈបង្ហាញប្រភេទ block គឺជា element ទាំងឡាយណាដែលធ្វើអោយមានការចុះបន្ទាត់ដល់ element បន្ទាប់ពីវា។ ផ្ទុយទៅវិញ element ដែលមានលក្ខណៈបង្ហាញប្រភេទ inline គឺវាមិនធ្វើអោយការចុះបន្ទាត់ចំពោះ element ដែលមានទីតាំងបន្ទាប់ពីវាឡើយ។
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>Block and Inline Element</title>
</head>
<body>
Hello World
The DIV element is a block element, and will always start on a new line and take up the full width available (stretches out to the left and right as far as it can).
</body>
</html>
The DIV element is a block element, and will always start on a new line and take up the full width available (stretches out to the left and right as far as it can).
បណ្តា element ដែលមានលក្ខណបង្ហាញ block មានដូចខាងក្រោមនេះ៖
<address><article><aside><blockquote><canvas><dd><div><dl><dt><fieldset><figcaption><figure><footer><form><h1>-<h6><header><hr><li><main><nav><noscript><ol><p><pre><section><table><tfoot><ul><video>
ចំណែកឯ element ដែលមានលក្ខណបង្ហាញ inline វិញមានដូចខាងក្រោមនេះ៖
<a><abbr><acronym><b><bdo><big><br><button><cite><code><dfn><em><i><img><input><kbd><label><map><object><output><q><samp><script><select><small><span><strong><sub><sup><textarea><time><tt><var>














