My First Program in HTML - HTML Tutorial




my first program in html

My first program in html

Here is an example of HTML5 documents we can create. HTML page starts with HTML5 doctype followed by the page title and content of the webpage. For content we are using a heading element and paragraph element etc. Now let’s see our first program of HTML.

learn html -  html tutorial -  html development tutorial -  html examples -  html  -  html script -  html program -  html download -  html samples  -  html scripts

Let’s see the Example

<!DOCTYPE html>
  <html lang="en">
    <head>
       <title>My First Program</title>
    </head>
    <body>
       <h1>Hello, world!</h1>
       <p>Hello, world!</p>
       <p>Hello, world!</p>
    </body>
  </html>

Code Explanation

my first html program

  1. <!DOCTYPE html> defines the html5 version.
  2. <html> element is a root element of the HTML page.
  3. <head> element defines the Meta information of the webpage.
  4. <title> element is termed as the page title of the HTML page.
  5. <body> element defines the contents heading, paragraph, links, etc...
  6. <h1> element is termed as the heading of HTML page is given as “Welcome to Wikitechy”.
  7. <p> element has the name of the paragraph is given as “this is my first paragraph”.

Related Searches to My first Program in html

Adblocker detected! Please consider reading this notice.

We've detected that you are using AdBlock Plus or some other adblocking software which is preventing the page from fully loading.

We don't have any banner, Flash, animation, obnoxious sound, or popup ad. We do not implement these annoying types of ads!

We need money to operate the site, and almost all of it comes from our online advertising.

Please add wikitechy.com to your ad blocking whitelist or disable your adblocking software.

×