Skip to main content

Basics of HTML -1

HTML or Hypertext Markup Language in full form is the markup language to create webpages.
Any HTML document has mainly two parts:

  • Head
  • Body
An HTML code is written using tags. Like <html> tag means the beginning of  an HTML document and </html>tag  means the end of the HTML section. Similarly for head,  <head >tag is used and for body, <body>tag is used. 

Usually and HTML consists of a start tag and an end tag, the content is written between these two tags. Like:
<p>           content abc.... ...of paragraph       </p>
(start tag)                                                       (end tag)

Note:
  • <title> tag is always written within <head> tag.
List of popular tags

Tag                            Description
<!DOCTYPE>           Defines the document type
<html>                       Defines an HTML document
<head>                       Defines information about the document
<title>                        Defines a title for the document
<body>                      Defines the document's body
<h1> to <h6>            Defines HTML headings
<p>                            Defines a paragraph
<br>                          Inserts a single line break


Example of HTML program:

<!DOCTYPE html>
<html>
<head>
<title>
My first program
</title>
</head>
<body>

<h1>My First Heading</h1>

<p>My first paragraph.<br>
   Here I start learning. </p>

</body>
</html>



Result:

My First Heading

My first paragraph.
Here I start learning.


Comments

Post a Comment

Popular posts from this blog

10 Inspirational Quotes of Steve Jobs

    1.      We’re here to put a dent in the universe. Otherwise why else even be here? 2.        Quality is much better than quantity. One home run is much better than two doubles. 3.        You’ve got to have a problem that you want to solve; a wrong that you want to right. 4.        It (what you choose to do) has got to be something you’re passionate about because otherwise you won’t have the perseverance to see it through. 5.        We’ve got to make the small things unforgettable. 6.        I would rather gamble on our vision than make a ‘me’, ‘too’ product. 7.        Everything around you that you call life was made up by people that were no smarter than you, and you can change it, you can influence it, you can build your own things that other people can use. ...

How to treat Jaundice at home

Jaundice is a disease which leads to yellowing of the skin, whites of the eyes and urine because of a high level of bilirubin. The treatment of jaundice is simple if the patient is willing to bring a  change in food habit. Do's: Drink plenty of water. Eat green vegetables, mashed potato, rice with no spice and turmeric added. Curd is very beneficial. Eat fruits. Cucumber and watermelon will provide much relief. Dont's: Don't consume hot food. Strictly avoid the use of oil, ghee, spices and turmeric in food. Avoid doing physically hard work. Avoid milk products, pulses and non-vegetarian food. Precaution and proper diet are the best solutions for jaundice.

How To Make Money Online- Five best ways to earn Money online

Gone are the days when people had to depend only on offline or traditional ways for earning money which meant doing something physically in the physical world. With the advent of the Internet, life has become so comfortable today. The things which were once unimaginable can easily be done.  Almost all parts of the world are now touched by the influence of the Internet. This gives immense opportunity to reach the millions of people all over the world at the click of a button. There are numerous ways to earn money online. It depends on you, what way you choose which would be suitable for the skills you possess. Here are given few such methods:        1.  YouTube                                                     One of the most powerful medium today to express creativity and talent is youtube . It is used b...