Skip to content
Lights For Christmas
Houston Christmas Lights Installers
Lights For Christmas
  • Home
Facebook page opens in new windowTwitter page opens in new windowDribbble page opens in new window
Lights For Christmas


281-699-0025

  • Home

What is HTML

You are here:
  1. Home
  2. Christmas Lights
  3. What is HTML

Light Of Christmas Blog form

Previous Next

HTML stands for Hyper Text Markup Language

HTML is the standard markup language for Web pages

HTML elements are the building blocks of HTML pages

HTML elements are represented by <> tags

HTML Elements

An HTML element is a start tag and an end tag with content in between:

This is a Heading

Start tag Element content End tag

This is a Heading
This is paragraph.

HTML Attributes

  • HTML elements can have attributes
  • Attributes provide additional information about the element
  • Attributes come in name/value pairs like charset=”utf-8″

A Simple HTML Document


Page Title


  

This is a Heading

  

This is a paragraph.

  

This is another paragraph.

Try it Yourself »

Example Explained

HTML elements are the building blocks of HTML pages.

  • The declaration defines this document to be HTML5
  • The element is the root element of an HTML page
  • The lang attribute  defines the language of the document
  • The element contains meta information about the document
  • The charset attribute defines the character set used in the document
  • The element specifies a title for the document</li> <li>The <body data-rsssl=1> element contains the visible page content</li> <li>The<br /> <h1> element defines a large heading</li> <li>The <p> element defines a paragraph</li> </ul> <h2>HTML Documents</h2> <p>All HTML documents must start with a document type declaration: <!DOCTYPE html>.</p> <p>The HTML document itself begins with <html> and ends with </html>.</p> <p>The visible part of the HTML document is between <body data-rsssl=1> and </body>. </p> <h2>HTML Document Structure</h2> <p>Below is a visualization of an HTML document (an HTML Page):</p> <p><title>Page title

    This is a heading

    This is a paragraph.

    This is another paragraph.

    Note: Only the content inside the section (the white area above) is displayed in a browser.

    HTML Headings

    HTML headings are defined with

    to

    tags.

    defines the most important heading.

    defines the least important heading: 

    Example

    This is heading 1

    This is heading 2

    This is heading 3

    Try it Yourself »

    HTML Paragraphs

    HTML paragraphs are defined with

    tags:

    Example

    This is a paragraph.

    This is another paragraph.

    Try it Yourself »

    HTML Links

    HTML links are defined with tags:

    Example

    This is a link

    Try it Yourself »

    The link’s destination is specified in the href attribute. 

    HTML Images

    HTML images are defined with tags.

    The source file (src), alternative text (alt), width, and height are provided as attributes:

    Example

    W3Schools

    Try it Yourself »

    HTML Buttons

    HTML buttons are defined with