IMPORTANT: Please read our Guide To Quality Writing before you begin posting!

Dismiss Notice
Please note that we are only approving writers from the US, UK and Canada at this time.

HTML Coding Basics

Discussion in 'Programming' started by Mergim Mulaj, Dec 31, 2015.

  1. Mergim Mulaj

    Mergim Mulaj New Member

    Joined:
    Dec 31, 2015
    Posts:
    2
    Likes Received:
    0
    Gender:
    Male
    What is HTML?
    - HTML is a markup language for describing web documents (web pages).
    1. HTML stands for Hyper Text Markup Language
    2. A markup language is a set of markup tags
    3. HTML documents are described by HTML tags
    4. Each HTML tag describes different document content​
    HTML tags are keywords (tag names) surrounded by angle brackets:

    <tagname>content</tagname>

    Example of a paragraph:
    <p>This is a paragraph</p>

    How to create bold text?
    -Bold text is usually created using the <strong> </strong> tags, for example:

    <p><strong>This is a test paragraph</strong><p>

    • The text between <html> and </html> describes an HTML document
    • The text between <head> and </head> provides information about the document
    • The text between <title> and </title> provides a title for the document
    • The text between <body> and </body> describes the visible page content
    • The text between <h1> and </h1> describes a heading
    • The text between <p> and </p> describes a paragraph
    Here's a short HTML document:

    <!DOCTYPEhtml>
    <html>
    <head>
    <title>Page Title</title>
    </head>
    <body>

    <h1>My First Heading</h1>
    <p>My first paragraph.</p>

    </body>
    </html>


    This was just a introduction to HTML.Thanks for reading
    Good Luck!
     
  2. tony

    tony New Member

    Joined:
    Jan 8, 2016
    Posts:
    0
    Likes Received:
    1
    Gender:
    Male
    sound good but I think you should introduce some tag for script and css
     
  3. martin1234567890

    martin1234567890 New Member

    Joined:
    Dec 20, 2015
    Posts:
    7
    Likes Received:
    0
    Gender:
    Male
    i had also learned the html.please introduce any language like vbscript or javascript.
     
  4. vivek

    vivek New Member

    Joined:
    Apr 2, 2016
    Posts:
    19
    Likes Received:
    0
    Gender:
    Male
    The useful information which I can give for HTML is about formatting it.The formatting is done with the help of CSS (Cascading Style Sheets).
    There is no need to learn any computer language other than HTML to use this type of sheets.They are of three types:
    • Inline style sheets:-Here, the style is given inside the paragraph or heading tag itself.
    Eg.<p2 style=" color:blue; font:Times New Roman;">

    • Internal style sheets:-Here, the style for the whole HTML document is given in the <head> tag.
    Eg.
    <head>

    <style type=“text/css”>

    p { color:blue;

    margin-right:20px; }

    hr { color:sienna;}

    </style>

    </head>

    • External style sheets:- Here, one separate CSS document is made (basically using notepad) which can be linked to many webpages.
    Eg.
    <head>

    <link rel=“stylesheet”

    type=“text/css” href=“style1.css”>

    </head>

    Note:This will link the CSS file ' style1.css' to the webpage.




     

Share This Page