Overview of Web Technologies: HTML Introduction
HTML: Introduction and Syntax
• HTML: Hyper Text Markup Language
• Used to create and design web pages
• Markup language used to mark up text with meta-information
• Syntax is simple and easy to learn
Web Document Structure
* Web pages have a document structure
*Elements are organized in a tree-like structure known as the DOM (Document Object Model)
*Each element is represented as a node in the DOM
* HTML stands for Hyper Text Markup Language
* It is the standard markup language for creating web pages and web applications
* HTML describes the structure of a web page
* It consists of a series of elements or tags
* Tags usually come in pairs
* The web is built on top of several technologies like HTML, CSS, JavaScript, etc.
* HTML is used to create the structure of a web page
* CSS is used to style the web page
* JavaScript is used to add interactivity to the web page HTML Elements: Metadata,
Title, and Link
* The metadata element provides information about the HTML document
* The title element specifies the title of the web page
* The link element is used to link external resources like CSS stylesheets HTML Blocks
and Attributes
* HTML elements can be divided into blocks and inline elements
* HTML headings are used to indicate the hierarchy of the content on the web page
* There are six levels of headings from
, * The nav element is used to create navigation links on the web page
*Navigation links help users to navigate through the web page.
HTML BASE
<!DOCTYPE html>
<html>
<head>
<meta charset=”UTF-8”>
<meta name=”view port” content=width=device-width,initial-scale=1.0>
<title>Document</title>
</head>
<body>
</body>
</html>
Where
* “!doctype html” –specific the document type asHTML5
* UTF-8 declares the character encoding
* view port for set the view port
* Inside the <head>tag ,include metadata ,style sheets and scripts essential for web
pages
* The <body> tag contains all the visible content of a web page ,such as text ,images
,videos and interactive elements.
KINDS OF TAGS
1. Closing Tags ---<p>hello</p>
2. Self Closing tags---<img src=”profile.jpg”/>
3. Nested tags ----<ul>
<li>list</li>
</u>
4.Sectioning Tags----These tags define sections in a document , creating a hierarchical
structure<section>,<nav>,<aside>,<header>,<main>,<article>,<footer>,<di v>
5.Text content Tags----These tags define the textual content and it’s structure
HTML: Introduction and Syntax
• HTML: Hyper Text Markup Language
• Used to create and design web pages
• Markup language used to mark up text with meta-information
• Syntax is simple and easy to learn
Web Document Structure
* Web pages have a document structure
*Elements are organized in a tree-like structure known as the DOM (Document Object Model)
*Each element is represented as a node in the DOM
* HTML stands for Hyper Text Markup Language
* It is the standard markup language for creating web pages and web applications
* HTML describes the structure of a web page
* It consists of a series of elements or tags
* Tags usually come in pairs
* The web is built on top of several technologies like HTML, CSS, JavaScript, etc.
* HTML is used to create the structure of a web page
* CSS is used to style the web page
* JavaScript is used to add interactivity to the web page HTML Elements: Metadata,
Title, and Link
* The metadata element provides information about the HTML document
* The title element specifies the title of the web page
* The link element is used to link external resources like CSS stylesheets HTML Blocks
and Attributes
* HTML elements can be divided into blocks and inline elements
* HTML headings are used to indicate the hierarchy of the content on the web page
* There are six levels of headings from
, * The nav element is used to create navigation links on the web page
*Navigation links help users to navigate through the web page.
HTML BASE
<!DOCTYPE html>
<html>
<head>
<meta charset=”UTF-8”>
<meta name=”view port” content=width=device-width,initial-scale=1.0>
<title>Document</title>
</head>
<body>
</body>
</html>
Where
* “!doctype html” –specific the document type asHTML5
* UTF-8 declares the character encoding
* view port for set the view port
* Inside the <head>tag ,include metadata ,style sheets and scripts essential for web
pages
* The <body> tag contains all the visible content of a web page ,such as text ,images
,videos and interactive elements.
KINDS OF TAGS
1. Closing Tags ---<p>hello</p>
2. Self Closing tags---<img src=”profile.jpg”/>
3. Nested tags ----<ul>
<li>list</li>
</u>
4.Sectioning Tags----These tags define sections in a document , creating a hierarchical
structure<section>,<nav>,<aside>,<header>,<main>,<article>,<footer>,<di v>
5.Text content Tags----These tags define the textual content and it’s structure