HTML-5 structure ( first lesson )



....................................

when you have to create any web page you must do the following.

<!DOCTYPE html>

<html>

<head>

<title>Page Title</title>

</head>

<body>

<h1>This is a Heading</h1>

<p>This is a paragraph.</p>

</body>

</html>

A- <!DOCTYPE HTML>

Declaration defines that this file is an HTML5 file

B- <HTML>

Is the root element of an HTML page

C- <head>

Contains meta information about the HTML page

D- <title>

Specifies a title for the HTML page

E- <body>

Container for all the visible contents

F- <h1>

Large heading

and you can chose any size for heading:- ( <h1>…<\h1> , <h2>…<\h2> ,<h3>…<\h3> , <h4>…<\h4> ,<h5>…<\h5> ,<h6>…<\h6> )

G- <p>

Paragraph

If you liked this article, follow me up. 


channel link :- https://www.youtube.com/channel/UC1DFWpD1k1PtxIzYbdBAj6g 

Add your comment 

Signature :- Ayoub Shindi (Dev AAS).

Comments