(HTML & CSS)
What is HTML?
HTML is the set of "markup" symbols or
codes inserted in a file intended for
display on a World Wide Web browser.
The markup tells the web browser how to display the web page's(text,image,video....) for the user.
HTML documents are text documents. We use simple ASCII text files.
After build code we save .html or .htm type.
HTML Document Structure
<html></html>
The Main container for HTML pages
<head></head>
The Container for Page header Information.Title of the page , Meta tag(use to describe the content) And JavaScript and Style sheet Links
<title></title>
The title of the Page
<body></body>
The main Body of the Page.
HTML Attributes
Attributes provide additional data about an elements.
Attributes are always specified in the start tag.
Attributes come in name/value pairs
name="value"
Ex:
<form name="loginForm" action="login.php" method="post" >
<input name="username" placeholder="Enter User Name">
No comments:
Post a Comment