HTML:
![]()  | 
- HTML stands for HyperText Markup Language.
 
- HTML is used for presenting and structuring content on web pages and its standards are maintained by W3C(World wide web Consortium).
 
- In general, we use HTML to build a webpage, Hyperlink, Online form, etc.,
 
- HTML5 is the latest version of HTML. Its powerful features help to create a powerful web application and good user experiences across multiple devices.
 
- HTML5 reduces the dependency on javascript for the common tasks and an external plugin for media playback.
 
HTML Element:
- HTML is a collection of elements used for presenting the content on web browsers.
 
- An HTML element is defined by a start tag, some content, and an end tag.
 
- <tagname> Content </tagname>
 
- An HTML document comprises two major components.
 
- Document Declaration
 - Document Scope
 
- Document Declaration:
 
- A webpage is accessed and viewed on a browser. This page comprises tags that are converted into elements.
 
- Every browser has a parser that translates HTML tags into elements.
 
- A parser can use several versions of HTML, hence the developer has to define document declaration.
 
- <!DOCTYPE HTML>
 
- Document Scope:
 
- A browser window can display multiple documents, Hence every document scope is defined by using the tags.
 
- <html> ... </html>
 
- This <html></html> element defines the html document and encloses the document completely.
 
- It acts as a container for all other HTML elements except <!DOCTYPE>.
 
- A HTML document is separated into two sections inside the <html> tag.
 
- Head
 - Body
 
- Head - contains information about the content of the webpage.
 
- Body - contains content of a webpage
 
Basic HTML page

No comments:
Post a Comment