An open API service indexing awesome lists of open source software.

https://github.com/vatsalsaxena22/html

HTML Complete Notes
https://github.com/vatsalsaxena22/html

html html-css-javascript html-notes html5

Last synced: 8 days ago
JSON representation

HTML Complete Notes

Awesome Lists containing this project

README

          

# HTML Complete Notes

---

## HTML Introduction

### HTML First Program:

**Hello World!**, create a file named index.html and write -

Hello World!

### HTML Basic Layout:



Page Title


Heading


Paragraph



### HTML Versions:

HTML Versions

### Parts of HTML:

Tags - Content....

Attributes - `` or ``

Elements - ` Content.... ` or Tag + Attribute

### Best Editor for HTML:

1. VS Code
2. Sublime Text 3
3. Web Storm IDE
4. Notepad++

## HTML Basics

### Document Type Declaration:

`` - Defines HTML 5 version

### HTML tag:

`` - html starts here
`` - html ends here

### Head tag:

Contains meta data
`` - head starts here
`` - head ends here

### Title tag:

` Site Title `

### Body tag:

Contains Body content
`` - body starts here
`` - body ends here

### Headings:

`

....

`
`

....

`
`

....

`
`

....

`
`
....
`
`
....
`

### Paragraph:

`

....

`

### Link:

`....`

### Line Break:

`
`

### Horizontal line:

`


`

### View HTML Source Code:

#### View HTML Source Code:

Click CTRL + U in an HTML page, or right-click on the page and select "View Page Source". This will open a new tab containing the HTML source code of the page.

#### Inspect an HTML Element:

Right-click on an element (or a blank area), and choose "Inspect" to see what elements are made up of (you will see both the HTML and the CSS). You can also edit the HTML or CSS on-the-fly in the Elements or Styles panel that opens.

### Comments:

Shortcut - CTRL + /

### Blocks Elements:

`

----

` `

` `

` `
` `` `` `` `` `` `` `