Friday, September 17, 2021

HTML 101: basic structure of HTML

The basic HTML structure is:


           <!DOCTYPE html>

     <html>

     <head>

     <title>Page Title</title>

     </head>

     <body>

     <h1>My First Heading</h1>

     <p>My first paragraph.</p>

     </body>

     </html>


What Do This Tags Mean

<!DOCTYPE html> : This tag, doctype, is used to define the document type, which in this case is html.

<html> defines the root of an HTML document.

<head> defines information about the document, it includes tags like title and meta.

<title> defines the site name or title

<body> contains all the contents of the document


No comments:

Post a Comment

HTML 101: Form

  I believe that everyone who has made use of the internet knows what a form is but in case you don't know, a form is a way of receiving...