- HTML stands for Hyper Text Markup Language.
- HTML describes the structure of web page using markup.
- HTML elements are the building blocks of HTML pages.
- HTML elements are represented by tags.
- HTML tags label pieces of content such as "heading", "paragraph", "table".
- <!DOCTYPE html>
- <html>
- <head>
- <title>
- <body>
- <h1>
- <p>
- Opening tag
- Closing tag
- Contents are written between opening tag and closing tag.
- <!DOCTYPE>
- <!DOCTYPE> declaration is not case sensitive.
HTML headings
- HTML headings are defined with the <h1> to <h6> tags.
- <h1> defines the most important heading(biggest heading).
- <h6> defines the least important heading(smallest heading).
HTML links
- HTML links are defined with the <a> tag.
- The links destination is specified in the href attribute.
HTML images
- HTML images are defined with the <img> tag.
- The source file(src), alternative text(alt), width and height are provided as attributes.
- Attributes means additional information about HTML elements.