Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
LETS LEARN : HTML Basics
#1
Introduction to HTML

HTML is an text markup language that is used on the web. HTML stands for HyperText Markup Language, It lets you make pages which can be read on the web and it informs web browsers how to display web pages. It is because of HTML the web pages are interesting to look at, before the introduction of HTML, the designing of a web page was limited to Notepad and the use of a special power imagination. Nexus was the first HTML editor which was written by Tim Berners Lee.

HyperText is an ordinary text which contains some extra features such as images, formatting, multimedia, links etc.

Markup is the process which adds extra features to the ordinary text.

Language implies that it has its own syntax and code-words like any other language.

[Image: worldwebforum-2017-sir-tim-berners-lee-c...430&api=v2]
Tim Berners Lee (Photo From worldwebforum.ch)
Quote:Fact :

HTML
was developed as a subset for SGML (Standard Generalised Markup Language), A high-level Markup Language used by United States Department of Defense. Tim Berners Lee designed the first original HTML document type in 1990.


Importance and features of HTML

  • HTML is a versatile language and can be used on any platform.
  • It is that language which powers the web.
  • It works with CSS and Java Script to create rich, engaging user experiences.
  • It is one of the simplest and easiest computer languages to learn.
  • It is used to format texts, images, links, everything you see on the web page.
  • It is the base programming language for all websites.
Tags and Attributes

Tags 

Tags are keywords that defines how your web browser must format and display the content. A Tag indicates layout or display of whole or part of web page.

Attributes

An Attribute is a modifier of HTML element type, it is a special word or words that specify additional information such as alignment, color, font etc.

HTML Tags

HTML Tags are bound by angular brackets '<>'. Any HTML Tag begins with '<' and ends with '>'.

Example :

The tag for Paragraph is

<p> Paragraph....... </p>
'<p>' this is the Opening Tag and '</p>' is the Closing Tag.


Mostly all HTML tags required to be closed, Opening tags and Closing tags are similar except for the '/' which is added in the closing tag. The '/' signifies that a Tag is closed. While some Tags like <br> (break) do not require to be closed these tags are called as Standalone Tags.

Before beginning to code, read the Rules of HTML :
  • Tags and Attributes in HTML are not case sensitive  i.e, you can do this - '<Br>Break Tag<bR>'. The small letters and the capital letters are considered the same. So '<Br>' and '<Rb>' are same.
  • However, Attribute values are case sensitive for example <IMG SRC="source.png"> is not equal to <IMG SRC="SOURCE.png">.
  • Elements cannot contain space between them so using < b r > instead of <br> is wrong.
  • Attribute values must be enclosed by quotes. For example <IMG SRC="SOURCE.png">.
  • The correct order for closing opened tags (multiple) is - <i><u>Italic and Underline</u></i> and not <i><u>Italic and Underline</i></u>

  


Forum Jump:


Users browsing this thread:
1 Guest(s)