Basic HTML Structure

  • October 6, 2017
  • HTML
No Comments

Please find basic HTML Structure below, this can be used as a snippet for new designers & developers.

[code lang=”html”] <!DOCTYPE html>
<!– Start of Head Section, Here we add css files & sometimes js files too. –>
<title>Page Title</title>
<!– Start of Body –>
<!– All content, including images, text, vidos will come under body tag –>
<h1>This is a Heading</h1>
<p>This is a paragraph.</p>
<!– End of Body –>
<!–All your java script files will come here, just before closing body. –>
</html> [/code]

To Do :

  • Open notepad, create a new file and save it as home.html
  • Copy Code from above and paste in home.html
  • Open home.html in your browser.
  • Hey !! You just created your first HTML page.

Comment in HTML

[code lang=”html”] <!– This is a comment –>

About us and this blog

We are a digital marketing company with a focus on helping our customers achieve great results across several key areas.

Request a free quote

We offer professional SEO services that help websites increase their organic search score drastically in order to compete for the highest rankings even when it comes to highly competitive keywords.

Subscribe to our newsletter!

More from our blog

See all posts

Leave a Reply