Html Example

Advertisements

HTML Program Structure HTML Heading

Html Example

Html is very simple language, Html code is write on any editor like notepad, edit plus, notepad plus plus. Html code are save with .html or .htm extension.

Save and Run Html code

Html code are save with .html or .htm extension.

For run Html code you need any web browser (chrome, firefox etc). No others software are required for run Html code web browser are enough.

Compile Html Code

No need to compile manually Html code, When you open your code in any web browser then Html code are interpreted by browser interpreter.

Syntax

<!DOCTYPE html>
<html>
<body>
<p>This is my first Html code.</p>
</body>
</html>

Result

This is my first Html code.

Description of Example

  • <DOCTYPE:> It defines the document type.
  • <html> : Text between <html> tag describes the web document.
  • <body> : Text between <body> tag visible to for users.
  • <h1> : Text between <h1> tag describes the heading of the webpage.
  • <p> : Text between <p> tag describes the paragraph of the webpage.

HTML Program Structure HTML Heading

Google Advertisment

Buy This Ad Space @$20 per Month, Ad Size 600X200 Contact on: hitesh.xc@gmail.com or 9999595223

Magenet is best Adsense Alternative here we earn $2 for single link, Here we get links ads. Magenet

For Projects 9999595223

Google Advertisements


Buy Websites 9999595223

Buy College Projects with Documentation Contact on whatsapp 9999595223. Contact on: hitesh.xc@gmail.com or 9999595223 Try this Keyword C++ Programs

Advertisements