Skip to content

Instantly share code, notes, and snippets.

@kaustumbh7
Last active January 28, 2019 15:00
Show Gist options
  • Save kaustumbh7/8c8114c3810b50583f8be8359a14e030 to your computer and use it in GitHub Desktop.
Save kaustumbh7/8c8114c3810b50583f8be8359a14e030 to your computer and use it in GitHub Desktop.
<!-- Source: https://www.w3schools.com/tags -->
<!-- The <html> tag tells the browser that this is an HTML document. -->
<!-- The <head> element is a container for all the head elements. -->
<!-- The <body> tag defines the document's body. -->
<!-- It contains all the contents of an HTML document, such as text, hyperlinks, images, tables, lists, etc.-->
<html>
<head>
<title>Title of the document</title>
</head>
<body>
The content of the document......
</body>
</html>
<!-- The <div> tag defines a division or a section in an HTML document. -->
<!-- The <p> tag defines a paragraph. -->
<!-- The <h*> tags are used to define HTML headings. -->
<div style="background-color:lightblue">
<h3>This is a heading</h3>
<p>This is a paragraph.</p>
</div>
<!-- The <a> tag defines a hyperlink, which is used to link from one page to another. -->
<a href="https://www.w3schools.com">Visit W3Schools.com!</a>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment