Skip to main content

Structure of a HTML document

Structure of HTML document


<! DOCTYPE html>
<html>
<head>
           <title>
           </title>
           <meta>
           <style>
           </style>
           <script>
           </script>
</head>
<body>
             <div>
                       <p> HELLO THERE  ! </p>
             </div> 
</body>
</html>

Comments

Popular posts from this blog

HTTP-Hyper Text Transfer Protocol

HTTP It is a protocol used for communication between client and server for exchanging data over network. Working :- Client sends a request to Server Server process the Client's request Server responses to Client's request by sending a reply HTTP Request-methods There are different ways in which a client can send request to a server called request methods. Request-methods are :- GET       - retrieve an existing file  PUT        - upload file POST      - request to create a new file DELETE  - remove an existing file

HTML - Hyper Text Markup Language

HTML It is a markup language means it can distinguish between its elements and content. It instructs the browser how to display web-page content. HTML Tags these are the keywords in HTML which defines how browser will format and display the programmer's content on the web-page. It is of two types :- 1.One which requires closing tag     ex: <p> content </p>           <body> content <body> 2.One which doesn't requires a closing tag     ex: <img>           <meta>,etc HTML elements  it is the combination of                                <opening tag> content </closing tag> It is of two types :- 1.Inline    ex: <img src="abc/xyz.jpg"> 2.Block    ex: <p>hello there</p>