HTML Notes

HTML Editors (Some example list):

  • Visual Studio Code
  • Sublime Text
  • Atom
  • Notepad++
  • CoffeeCup – The HTML Editor
  • TextMate
  • Vim
  • UltraEdit
  • Coda
  • BBEdit
  • Komodo
  • Edit
  • Brackets
  • CodeShare


HTML (Hyper Text Markup Language): 

  • standard markup language for creating Web pages.
  • describes the structure of a Web page
  • consists of a series of elements (represented by HTML tags)
  • browsers use them to render the content of the page


Sample HTML document:

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

 …. page contents

</body>
</html>

HTML has 3 major elements:

  • DOCTYPE: indicates the standards compliance or version of the document [<!DOCTYPE HTML>
  • HTML: acts as the root of the document  
  • HEAD(contains document metadata like: title, meta, link -for css, javascript) & BODY (contains the content to be displayed) 
HTML Elements / tags:
<p> this is a paragraph </p>
[opening tag] content [closing tag]
<--------------------element---------------------->


head element: (Defines information about the document) [has 6 elements]

  • title:  Defines title of a document
  • meta: Defines metadata about an HTML document (charset, description, keywords, name, refresh)
  • link: Defines the relationship between a document and an external resource
  • base: Defines a default address or a default target for all links on a page
  • script: Defines a client-side script
  • style: Defines style information for a document

Popular posts from this blog

GOOGLEFINANCE attributes

Practice

Merge/join two or more video files using Python