DEV Community

Dhanush P
Dhanush P

Posted on

Day 1: HTML Learning

HTML

  • HTML stands for Hypertext Markup Language.
  • It is used to create structure and layout of web pages.
  • It defines basic structure of web pages and contains meta-data about the page.
  • It uses predefined tags such as <body>, <table>, <form> etc.
  • It consist of a series of elements.

  • We can save html files using two ways. file extension .html or .htm

<!DOCTYPE html>
<html>
     <head>
        <title>HTML Learning</title>
     </head>
     <body>
        <h1>Heading 1</h1>
        <p>Html stands for hypertext markup language</p>
     </body>
</html>
Enter fullscreen mode Exit fullscreen mode

META-DATA

  • Metadata means data about data.
  • It is data that provides information about other data, offering context and meaning to raw information.

Examples: For a photograph, metadata includes camera settings, date/time taken, GPS location, and file format. For a document, it includes author, creation date, and document type.

ELEMENT

  • Each element requires starting tag and ending tag with content inside it. Example: <h2>This is example for element</h2>

MARKUP LANGUAGE

  • A markup language is a system of annotating a document to describe its structure and presentation.

  • Markup languages are used to structure, format, or define relationships between different parts of text documents with the help of tags inserted in the document.

  • It uses tags or codes to define elements such as headings, paragraphs, lists, images, links, and more.

  • More readable than usual programming.
    Example: HTML, XML, XHTML, SGML

FILE EXTENSION

  • A file extension is a suffix at the end of a computer filename.
  • It usually three or four letters preceded by a dot.
  • That identifies the file type and indicates which application should open it. Example: .pdf, .txt, .jpg, .java, .html, .css

Top comments (1)

Collapse
 
karthick_k_983555db6df3 profile image
Karthick (k)

Super brother