HTML element တစ်ခုဆိုတာ start tag + content + end tag ပေါင်းစပ်ထားတဲ့ အပိုင်းတစ်ခုပါ။ ဥပမာ <p>Hello</p> ဆိုရင် <p> က start tag, Hello က content, </p> က end tag ဖြစ်ပါတယ်။
<br>, <img>, <input> လို content မထည့်တဲ့ tags တွေကို empty elements လို့ခေါ်ပါတယ်။ သူတို့က “ကျွန်တော်တစ်ယောက်တည်းနေလို့ရပါတယ်” အမျိုးအစားပါ။
html
<h1>This is a heading</h1>
<p>This is a paragraph with some text.</p>
This text is on one line.<br>
This text is on a new line.You should see
Heading, paragraph, line break ပါတဲ့ text output ကိုမြင်ရပါမယ်။