Introduction to HTML :
HTML is not a programming language; it is a markup language for structuring content.
HTML is the basic building block of a web page.
*History of HTML
1989-1991: HTML was invented by Tim Berners-Lee at CERN (European Council for Nuclear Research) to help researchers share documents.
1993: The first official HTML specification was published.
1995: HTML 2.0 was released, standardizing early features.
1997-1999: HTML 3.2 and 4.01 introduced more elements and better structure.
2014: HTML5 became the latest standard, adding multimedia support and new semantic elements.
*Features of HTML
Simple Syntax: Easy to learn and use.
Platform Independent: Works on all operating systems and browsers.
Hyperlinks: Allows linking between web pages.
Multimedia Support: Can embed images, audio, and video.
Forms: Supports user input through forms.
Semantic Elements: Provides meaning to content (e.g., `<header>`, `<footer>`, `<article>`).
Extensible: Can be combined with CSS and JavaScript for styling and interactivity.
*Limitations of HTML
Presentation: Limited styling and layout capabilities without CSS.
Logic: Cannot perform programming logic or dynamic content without JavaScript.
Security: Vulnerable to code injection if not used carefully.
Browser Differences: Some tags and features may not work the same in all browsers.
Static Content: HTML alone cannot create interactive or dynamic web applications.
Basic Structure of a HTML page :
The basic structure of an HTML page includes the following elements:
Explanation :
`<!DOCTYPE html>`: Declares the document type and version of HTML.
`<html>`: Root element of the HTML document.
`<head>`: Contains meta-information like the title and links to stylesheets.
`<title>`: Sets the title of the web page (shown in the browser tab).
`<body>`: Contains the visible content of the web page.
Every HTML page must contain the above elements.
Comments
Post a Comment