HTML Codes

 


                    HTML

HTML <!DOCTYPE> Declaration

<!DOCTYPE html>
<html>
<head>
<title>Title of the document</title>
</head>

<body>
The content of the document......
</body>

</html>

HTML <a> Tag

<a href="https://www.w3schools.com">Visit W3Schools.com!</a>

HTML <address> Tag

<address>
Written by <a href="mailto:webmaster@example.com">Jon Doe</a>.<br>
Visit us at:<br>
Example.com<br>
Box 564, Disneyland<br>
USA
</address>

HTML <big> Tag

<html>
<head>
<style>
p.ex1 {
  font-size: 30px;
}
p.ex2 {
  font-size: 50px;
}
</style>
</head>
<body>

<p>This is a normal paragraph.</p>
<p class="ex1">This is a bigger paragraph.</p>
<p class="ex2">This is a much bigger paragraph.</p>

</body>
</html>

HTML <body> Tag


<html>
<head>
  <title>Title of the document</title>
</head>

<body>
  <h1>This is a heading</h1>
  <p>This is a paragraph.</p>
</body>

</html>

HTML <br> Tag


<p>To force<br> line breaks<br> in a text,<br> use the br<br> element.</p>

HTML <button> Tag


<button type="button">Click Me!</button>

HTML <font> Tag


<p style="color:red">This is a paragraph.</p>
<p style="color:blue">This is another paragraph.</p>
Try it Yourself »

වැඩි දුර කෝඩ් දැන ගෑනීමට මෙම වෙබ් අඩවියත පිවිසෙන්න===https://www.w3schools.com/TAGS/tag_comment.asp

Comments

Popular posts from this blog