FANDOM


Introduction

You will learn how to create your own wev page! Like C++ can control whole system, through HTML you can control the designing of a whole webpage. You can even create your own website. And if you can get a hold of HTML then we are sure you will do wonders in other Computer languages too. HTML is easy and fun to learn. Note for Editors:Please do not make a subpage for this page until all the Basic topics are completed. Keep on adding the lessons below with a Level 2 heading.

What is HTML?

HTML is a data language which is used to edit and stylize web pages. People sometimes refer to it as a programming language which is not correct.

HTML is written in the form of HTML elements consisting of tags enclosed in angle brackets (like <html>). HTML tags most commonly come in pairs like
<i>
and  
</i>
 , although some tags represent empty elements and so are unpaired, for example <img>. The first tag in a pair is the start tag, and the second tag is the end tag (they are also called opening tags and closing tags).

To know more about HTMl, Go to HTML.

Let's Get Started

So below we have a very basic format of an html program. Please don't mind the colouring of the tags

<!DOCTYPE html>

<html> 

<body>

<h1>My First Heading</h1>

<p>My first paragraph.</p>

</body>

 </html>


Check the code Here

  • The DOCTYPE declaration defines the document type.
  • The text between <html> and </html> describes the web document.
  • The text between <body> and </body> describes the visible page content.
  • The text between <h1>and  </h1> describes a heading.
  • The text between <pand .</p> describes paragraph.

HTML Tags

HTML tags are keywords (tag names) surrounded by angle brackets:


<tagname></tagname>


DOCTYPE Declaration

The <!DOCTYPE> declaration helps the browser to display a web page correctly. There are many different documents on the web, and a browser can only display an HTML page correctly if it knows the HTML version and type.[Sourced from W3schools.org]

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.