HTML Basic Tutorials - Codeacy

HTML stands for HyperText Markup Language. It is used to display text, buttons, images, videos on web pages. HTML can be designed with CSS and add functions with JavaScript.



Basic HTML Document

<!DOCTYPE html>

<html>

<head>

<title>Page Title</title>

</head>

<body>

<h1>My First Heading</h1>

<p>My first paragraph.</p>

<button>Text</button>

</body>

</html>



DOCTYPE: Document Type Declaration is also called DOCTYPE is the first HTML code required in every HTML or XHTML document. It is the way of instruction to the web browser what type of HTML version we are written on the document.

Head: Head is the heading tag of the document where all the information is written about the document. There are written Page titles, links with other documents, meta tags, and so more.

Body: Body is the tag where all the structure of the web page contains. All the visible contain we are seen on the web page are contained in Body Tag.


All HTML Tag


S.N

HTML Tags

Discription

1

p

The P HTML elements represent a paragraph. It is written after heading on a document.

2

H

The H HTML element represents a paragraph. There are contain six types of heading such as H1, H2, H3, H4, H5, and H6.

3

a

The HTML Element represents Anchor Tag. It is used to add links to text

4

button

The button Tag is used for adding buttons to a document

5

Input

The Input tag is used for users can input their text and numbers.

6

link

The link HTML elements are used when we link Cascading Style Sheet or any online document or file.

7

meta

The meta tag is used to provides structured data of the web page

8

img

The img tag is used to insert images on the document

9

table

The table tag is used to insert tables on the website

10

div

Define a Division Tag





Learn HTML With Text Editors

We are using easy and best text editors in our projects. The visual studio code is the best text editor software for writing code. This text editor suggests every HTML tag and highlights code.

These text editors provide by Microsoft. And it is completely free text editors software. Download Now


Start With HTML Basic Code

<!DOCTYPE html>

<html>

<head>

<title>Page Title</title>

</head>

<body>

</body>

</html>



This is the starting basic HTML code required for the web page. In visual studio, You can simply generate this code with type ! this symbol is on keyword.