Basic structure tags
<title>Title of the document</title>
The content of the document......
The <!DOCTYPE> declaration is not an HTML tag;
it is an instruction to the web browser about what version of HTML the page is
The <!DOCTYPE> declaration must be the very first thing in your HTML
document, before the <html> tag.
Tip: Always add the <!DOCTYPE> declaration to your HTML documents, so that the browser
knows what type of document to expect.
The <html> tag tells the browser that this is an HTML document.
The <html> tag represents the root of an HTML document.
The <html> tag is the container for all other HTML elements (except for
the <!DOCTYPE> tag).
The <head> element is a container for all the head elements.
The <head> element can include a title for the document, scripts,
styles, meta information, and more.
The following elements can go inside the <head> element:
◦ <title> (this element is required in an HTML document)
The <title> tag is required in all HTML documents and it defines the title of the
The <title> element:
defines a title in the browser toolbar
provides a title for the page when it is added to favorites
displays a title for the page in search-engine results
The <body> tag defines the document's body.
The <body> element contains all the contents of an HTML document, such as
text, hyperlinks, images, tables, lists, etc.
•HTML elements can have attributes
•Attributes provide additional information about an element
•Attributes are always specified in the start tag
•Attributes come in name/value pairs like: name="value"
• <html lang= "en-US“ >
• <p title= "About W3Schools“ >
• <a href= "http://www.amitmali.com" >This is a link to amit mali’s website</a>
• <img src= “demo.jpg " alt= "W3Schools.com" width= "104" height= "142“ >
Cascading Style Sheets (CSS)
is a style sheet language used for describing the
presentation of a document written in a markup language