How to Start HTML Basic Codes of The Day

HTML basic codes, HTML is a short form of Hypertext Markup Language is the standard markup language for creating web pages and web applications. With Cascading Style Sheets and JavaScript, it forms a triad of cornerstone technologies for the World Wide Web.

What is Html?

HTML basic codes
HTML

HTML basic codes

Here the HTML is the standard mark-up language for creating Web pages.

  • HTML stands for Hyper Text Mark-up Language
  • HTML describes the structure of Web pages using mark-up
  • The HTML elements are the building blocks of HTML pages
  • HTML elements are represented by tags
  • HTML tags label pieces of content such as “heading”, “paragraph”, “table”, and so on
  • Browsers do not display the HTML tags, but use them to render the content of the page.

First of all, you have to open the notepad++ that’s the best version for coding your website. Here is the setup of notepad++ for your PC.

This is the starting for any html coding:

<! DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>

<h1>this is a Heading</h1>
<p>this is a paragraph</p>

</body>
</html>

  • The <!DOCTYPE html> declaration defines this document to be HTML5
  • The <html> element is the root element of an HTML page
  • The <head> element contains meta information about the document
  • The <title> element specifies a title for the document
  • The <body> element contains the visible page content
  • The <h1> element defines a large heading
  • The <p> element defines a paragraph

In the title line write <title>write your website name/title here</title>

After this let’s come to heading and body of it

<! DOCTYPE html>
<html>
<body>

<h1>my First Heading</h1>
<p>my first paragraph</p>

</body>
</html>

Note: When you wants to start always remember that not to forget closing your html code just like this:

<Html> this is the opening of your html code

</html> this is the closing of html code or you say it ending of html code if you do not close this the code do not work so this works for any of the part like: <body> so this is my starting point if I open body and </body> this is my closing part or ending of my body

So all of them will work like this

So this is the code of body and heading of website

<h1>here you can write you’re heading inside </h1>

<p>here you can write the paragraph inside</p>

And like this you can add more heading and paragraph:

<h1>Heading 1</h1>
<h2>Heading 2</h2>
<h3>Heading 3</h3>
<h4>Heading 4</h4>
<h5>Heading 5</h5>
<h6>Heading 6</h6>

For adding more paragraphs in the page that is the same like 

<p>
  My Bonnie lies over the ocean.

  My Bonnie lies over the sea.

  My Bonnie lies over the ocean.

  Oh, bring back my Bonnie to me.
</p>

And you can add like this paragraphs more and more.

HTML basic codes

Related: – How to Install Android Apps APPSTORE on PC/ BlueStacks

Suggested: – How to Set Icon on Nav in WordPress
Suggested: – Top 5 New Site For Download Movies in PC

ali zahedi

i am ali zahedi student of computer science

You may also like...

3 Responses

  1. February 28, 2019

    […] Suggested: How to Start HTML Basic Codes of The Day […]

  2. March 16, 2019

    […] Related:- How to Set Icon on Nav in WordPressRelated:- How to Start HTML Basic Codes of The Day […]

  3. June 1, 2019

    Twitter tweets count

    mbepqpryf rojgo rcxihjb bzzf urhnmtxhnznqabz

Leave a Reply

Your email address will not be published. Required fields are marked *