• Home
  • HTML
  • privacy policy
  • Shop
  • Advertise
facebook twitter instagram pinterest bloglovin Email

A to Z in Coding

Learn all about Basic HTML for Beginners




 This article is most useful knowledge for HTML beginners and completely read this article you learn more about HTML and Other language.


  • What is the HTML ?
  • How to write HTML code ?
  • How to start HTML script ?
  • Basic HTML Structure
  • HTML Basic tags
  • HTML Headings tags
  • HTML Paragraphs tags
  • HTML Links tags


What is the HTML ?


HTML (Hypertext Markup Language) is the code that is used to structure a web page and its content.


How to write HTML code ?


HTML are nothing more than simple text, so to start writing HTML, you need nothing more than a simple text editor like Notepad and any Web Browser.

Notepad is a common text editor is available for all Devices.

How to start HTML script ?


All HTML script must start with <html> and ends with </html>.

The visible part of the HTML script is between body tags. Body tags start with <body> and ends with </body>.

Basic HTML Structure


<!DOCTYPE html>
<html>

   <head>
      <title>This is document title</title>
   </head>
   <body>
      <h1>This is a heading</h1>
      <p>Document content goes here.....</p>
   </body>
</html>

HTML Basic tags


HTML Headings tags


HTML headings are defined with the <h1> to <h6> tags.

<h1> defines the most important heading. <h6> defines the least important heading.

Examples : 


<h1> Basic HTML for beginners </h1> 
<h2> Basic HTML for beginners </h2> 
<h3> Basic HTML for beginners </h3> 
<h4> Basic HTML for beginners </h4>
<h5> Basic HTML for beginners </h5> 
<h6> Basic HTML for beginners </h6>

Outputs:


Basic HTML for beginners

Basic HTML for beginners

Basic HTML for beginners

Basic HTML for beginners

Basic HTML for beginners
Basic HTML for beginners


HTML Paragraphs tags


HTML paragraphs are defined with the <p> tag.


Examples:


<p> Basic HTML for beginners </p>

Outputs:


Basic HTML for beginners



HTML Links tags


HTML links are defined with the <a> tag.
The link's destination is specified in the href attribute.

Examples:


<a href="https://atozincoding.blogspot.com"> Basic HTML for beginners </a>

Outputs: 


Basic HTML for beginners



Attributes are used to provide additional information about HTML elements. 

Share
Tweet
Pin
Share
4 comments

Follow Us

  • facebook
  • twitter
  • instagram
  • Google+
  • pinterest
  • youtube

Categories

  • HTML

recent posts

Created with by ThemeXpose | Distributed by Blogger Templates