WebProgramming6.3Notes 238726
WebProgramming6.3Notes 238726
HTML
HTML (HyperText Markup Language) is the standard language for
creating and designing web pages. It uses tags and attributes to
structure the content of a webpage, enabling its display in web
browsers.
Note:
Hypertext Markup Language (HTML): It is the standard language used
to create and design web pages on the World Wide Web.
2. Basic Structure
The basic HTML structure involves opening and closing tags around
content. The <html> tag marks the beginning and end of the
document. Inside it:
● The <head> tag contains metadata like the page title and
external resource links.
● The <body> tag holds the webpage's visible content.
3. Meta Section:
○ Meta tags provide information about the webpage, such as
its description, keywords, author, character encoding, and
viewport settings. They help search engines and web
browsers display the webpage properly.
4. Body Section:
○ The <body> section contains the webpage's main content,
such as text, images, multimedia elements, links, and
interactive components.
3. Metadata
Metadata refers to data that provides information about a webpage,
such as its title, description, author, keywords, and more. It is typically
included in the <head> section using meta tags to help search
engines accurately index and display the webpage.
Note:
Metadata includes details like the webpage title, description, author,
keywords, character encoding, and viewport settings.
4. HTML Tags
Note:
HTML tags act as labels or markers to define the webpage's layout
and content.
4.1. Container Tags (Paired Tags)
These tags have both an opening tag and a closing tag.
● <html>...</html>
● <body>...</body>
● <div>...</div>
● <p>...</p>
● <h1>...</h1>