UNIT 1 HTML
UNIT 1 HTML
INTRODUCTION TO HTML
Static vs Dynamic Website
Static website is the basic type of website that is easy to create. You don't need the
knowledge of web programming and database design to create a static website. Its web
pages are coded in HTML. The codes are fixed for each page so the information
contained in the page does not change and it looks like a printed page.
Dynamic website is a collection of dynamic web pages whose content changes dynamically. It
accesses content from a database or Content Management System (CMS). Therefore, when you
alter or update the content of the database, the content of the website is also altered or
updated. Dynamic website uses client-side scripting or server-side scripting, or both to generate
dynamic content.
Client side scripting generates content at the client computer on the basis of user input. The
web browser downloads the web page from the server and processes the code within the page
to render information to the user. In server side scripting, the software runs on the server and
processing is completed in the server then plain pages are sent to the user.
The Hypertext Transfer Protocol (HTTP) is designed to enable
communications between clients and servers.
Note:- The charset attribute specifies the character encoding for the HTML document.The
HTML5 specification encourages web developers to use the UTF-8 character set, which covers
almost all of the characters and symbols in the world!
CSS OF A WEBPAGE
Favicon image is displayed to the left of the page title in the browser
eg. Company’s logo.
Rel in href tells the relation b/w current page and the linked page.
The GET Method
GET is used to request data from a specified resource.