Movatterモバイル変換


[0]ホーム

URL:


Uploaded byumarkhan92391
PPTX, PDF63 views

Mastering HTML: The Building Blocks of the Web

This document provides an overview of HTML, detailing its structure, basic tags, and essential elements needed for creating web pages. It covers topics like lists, links, images, tables, forms, and semantic HTML5 tags, while also discussing attributes, multimedia integration, and concepts of responsiveness and accessibility. The document serves as a comprehensive guide for beginners to understand and build HTML documents effectively.

Embed presentation

Download to read offline
HTMLLESSONLet's start with the basics of HTML and gradually move to more advancedtopics. HTML (HyperText Markup Language) is the standard language used tocreate and design web pages.
TABLE OF CONTENTS01BasicStructureof a HTML03Lists02Tags04Links,Images,Tables,Forms
TABLE OF CONTENTS05Attributes07MultimediaTags06SemanticHTML5 Tags08Inline vsBlockElements
TABLE OF CONTENTS09Meta Tags11Linking CSSand JavaScript10Comments12DOCTYPEDeclaration
TABLE OF CONTENTS13CharacterEntities15Accessibility14ResponsiveDesign16Inline CSS andJavaScript
• HTML stands for Hyper Text MarkupLanguage• HTML is the standard markup languagefor creating Web pages• HTML describes the structure of a Webpage• HTML consists of a series of elements• HTML elements tell the browser how todisplay the content• HTML elements label pieces of contentsuch as "this is a heading", "this is aparagraph", "this is a link", etc.INTRODUCTION
—Santosh Kalwar“Coding like poetry shouldbe short and concise.”
Basic Structure of an HTMLDocument01
Every HTML document should start with a declaration and have a structure like this:<!DOCTYPE html><html><head><title>My First Web Page</title></head><body><h1>Hello, World!</h1><p>This is a paragraph.</p></body></html>Basic Structure of anHTML Document
Tags02
Basic Tags•<html>: Root element of an HTML page.•<head>: Contains meta-information about the HTMLdocument.•<title>: Specifies the title of the document, shown inthe browser's title bar.•<body>: Contains the contents of the HTMLdocument, such as text, images, links, etc.•<h1> to <h6>: Header tags, <h1> is the largest and<h6> is the smallest.•<p>: Paragraph tag.•<br>: Line break.•<hr>: Horizontal rule (line).
Text Formatting Tags•<b>: Bold text.•<i>: Italic text.•<u>: Underlined text.•<strong>: Important text (usually bold).•<em>: Emphasized text (usually italic).•<mark>: Highlighted text.•<small>: Smaller text.•<del>: Strikethrough text.•<ins>: Inserted text (usually underlined).
Lists03
Unordered List<ul><li>Item 1</li><li>Item 2</li><li>Item 3</li></ul>
Ordered List<ol><li>First item</li><li>Second item</li><li>Third item</li></ol>
Definition List<dl><dt>Term</dt><dd>Definition</dd></dl>
Links,Images,Tables,Forms04
LinksAnchor Tag:<a href="https://www.example.com">VisitExample</a>
ImagesImage Tag:<img src="image.jpg" alt="Description ofimage">
TablesTable Structure:<table><tr><th>Header 1</th><th>Header 2</th></tr><tr><td>Data 1</td><td>Data 2</td></tr></table>
FormsForm Elements:<form action="/submit-form" method="post"><label for="name">Name:</label><input type="text" id="name" name="name"><br><br><label for="email">Email:</label><input type="email" id="email" name="email"><br><br><input type="submit" value="Submit"></form>Form Elements:html
Attributes05
LinksCommon Attributes:•id: Unique identifier.•class: Class name for CSS styling.•style: Inline CSS styles.•title: Tooltip text.•alt: Alternative text for images.
Semantic HTML5 Tags06
Semantic HTML5 TagsSemantic Tags:•<header>: Defines a header for a document or section.•<nav>: Defines navigation links.•<section>: Defines a section in a document.•<article>: Defines an independent, self-contained article.•<aside>: Defines content aside from the main content.•<footer>: Defines a footer for a document or section.•<main>: Specifies the main content of a document.•<figure>: Specifies content that is self-contained, such as images• with captions.•<figcaption>: Provides a caption for a <figure> element.
Multimedia Tags07
Audio<audio controls><source src="audio.mp3" type="audio/mpeg">Your browser does not support the audio element.</audio>
Video<video width="320" height="240" controls><source src="movie.mp4" type="video/mp4">Your browser does not support the video tag.</video>
Inline vs Block Elements08
Inline Elements•Examples: <span>, <a>, <img>, <em>, <strong>.•Do not start on a new line and only take up as much widthas necessary.
Block Elements•Examples: <div>, <p>, <h1>, <ul>, <table>.•Always start on a new line and take up the full width available.
Meta Tags09
Block Elements<meta charset="UTF-8"><meta name="description" content="Free Webtutorials"><meta name="keywords" content="HTML, CSS,JavaScript"><meta name="author" content="John Doe"><meta name="viewport" content="width=device-width,initial-scale=1.0">•Meta Information:
Comments10
Comments<!-- This is a comment -->Adding Comments:
Linking CSS and JavaScript11
Linking CSS<link rel="stylesheet" type="text/css" href="styles.css">CSS:
Linking Java Script<script src="script.js"></script>#
DOCTYPE Declaration12
Specifying the DocumentType<!DOCTYPE html>
Character Entities13
Using Character Entities&lt; for <&gt; for >&amp; for &&quot; for "&apos; for '
Responsive Design14
Meta Tag for ResponsiveDesign<meta name="viewport" content="width=device-width,initial-scale=1.0">
Accessibility15
Alt Text for Images<img src="image.jpg" alt="Description of image">
ARIA Attributes<button aria-label="Close">X</button>
Inline CSS and JavaScript16
Inline CSS<p style="color:blue;">This is a blue paragraph.</p>
Inline JavaScript<button onclick="alert('Hello World!')">ClickMe</button>
These topics cover most of the usefultags,attribtes and concepts in HTML.Feel free to ask for more detailedexplanation or examples on anyspecific topic.Email = umarkhan99887766ui@gmail.comConclusion

Recommended

PDF
Chapter 2 Notes, MCQs, and QA (HTML and CSS).pdf
PPTX
Web technologies-course 02.pptx
PPTX
Web design - HTML (Hypertext Markup Language) introduction
PPTX
Grade 10 COMPUTER
PPTX
Introduction to HTML- Week 3- HTMLSyntax
PPT
Web forms and html (lect 1)
PPTX
HTML_HEADER PART TAGS .pptx
PPTX
HTML
PDF
Day1-HTML-CSS some basic css and html.pdf
PPTX
Unit_II.pptx thtrhththtrhjjuyujymkfhtyhkmythkymkykymnkmyjnmyjmnykn
PDF
Web Engineering, Web design, development-2
PPSX
HTML Comprehensive Overview
PPTX
Introduction to Hypertext markup language
PPTX
KEY
Class1slides
PPTX
web programming, Introduction to html tags
PDF
WEB PROGRAMMING bharathiar university bca unitII
PPTX
HTML/HTML5
PPTX
T430-01-Introduction to HTML.pptx
PPTX
Introduction to Web Techniques_Key componenets_HTML Basics
PPTX
HTML.pptx
PPTX
Introduction to HTML.pptx
PPTX
BSC notes of _HTML_Easyto understand lease see.pptx
PPTX
Introduction-to-HTML-1258164251864545.pptx
PPTX
Web topic 2 html
PPTX
INTRODUTION TO HTML.pptx
PPTX
Gail Borden Library | HTML/CSS Program
PDF
Unser Jahresrückblick – MarvelClient in 2025
PDF
The year in review - MarvelClient in 2025

More Related Content

PDF
Chapter 2 Notes, MCQs, and QA (HTML and CSS).pdf
PPTX
Web technologies-course 02.pptx
PPTX
Web design - HTML (Hypertext Markup Language) introduction
PPTX
Grade 10 COMPUTER
PPTX
Introduction to HTML- Week 3- HTMLSyntax
PPT
Web forms and html (lect 1)
PPTX
HTML_HEADER PART TAGS .pptx
PPTX
HTML
Chapter 2 Notes, MCQs, and QA (HTML and CSS).pdf
Web technologies-course 02.pptx
Web design - HTML (Hypertext Markup Language) introduction
Grade 10 COMPUTER
Introduction to HTML- Week 3- HTMLSyntax
Web forms and html (lect 1)
HTML_HEADER PART TAGS .pptx
HTML

Similar to Mastering HTML: The Building Blocks of the Web

PDF
Day1-HTML-CSS some basic css and html.pdf
PPTX
Unit_II.pptx thtrhththtrhjjuyujymkfhtyhkmythkymkykymnkmyjnmyjmnykn
PDF
Web Engineering, Web design, development-2
PPSX
HTML Comprehensive Overview
PPTX
Introduction to Hypertext markup language
PPTX
KEY
Class1slides
PPTX
web programming, Introduction to html tags
PDF
WEB PROGRAMMING bharathiar university bca unitII
PPTX
HTML/HTML5
PPTX
T430-01-Introduction to HTML.pptx
PPTX
Introduction to Web Techniques_Key componenets_HTML Basics
PPTX
HTML.pptx
PPTX
Introduction to HTML.pptx
PPTX
BSC notes of _HTML_Easyto understand lease see.pptx
PPTX
Introduction-to-HTML-1258164251864545.pptx
PPTX
Web topic 2 html
PPTX
INTRODUTION TO HTML.pptx
PPTX
Gail Borden Library | HTML/CSS Program
Day1-HTML-CSS some basic css and html.pdf
Unit_II.pptx thtrhththtrhjjuyujymkfhtyhkmythkymkykymnkmyjnmyjmnykn
Web Engineering, Web design, development-2
HTML Comprehensive Overview
Introduction to Hypertext markup language
Class1slides
web programming, Introduction to html tags
WEB PROGRAMMING bharathiar university bca unitII
HTML/HTML5
T430-01-Introduction to HTML.pptx
Introduction to Web Techniques_Key componenets_HTML Basics
HTML.pptx
Introduction to HTML.pptx
BSC notes of _HTML_Easyto understand lease see.pptx
Introduction-to-HTML-1258164251864545.pptx
Web topic 2 html
INTRODUTION TO HTML.pptx
Gail Borden Library | HTML/CSS Program

Recently uploaded

PDF
Unser Jahresrückblick – MarvelClient in 2025
PDF
The year in review - MarvelClient in 2025
PDF
Digit Expo 2025 - EICC Edinburgh 27th November
PDF
Our Digital Tribe_ Cultivating Connection and Growth in Our Slack Community 🌿...
PPTX
Coded Agents – with UiPath SDK + LangGraph [Virtual Hands-on Workshop]
PDF
Session 1 - Solving Semi-Structured Documents with Document Understanding
PPTX
Cloud-and-AI-Platform-FY26-Partner-Playbook.pptx
PDF
Day 1 - Cloud Security Strategy and Planning ~ 2nd Sight Lab ~ Cloud Security...
PDF
Day 3 - Data and Application Security - 2nd Sight Lab Cloud Security Class
PDF
December Patch Tuesday
 
PDF
The major tech developments for 2026 by Pluralsight, a research and training ...
PPTX
Chapter 3 Introduction to number system.pptx
PDF
Security Technologys: Access Control, Firewall, VPN
PPTX
From Backup to Resilience: How MSPs Are Preparing for 2026
 
PDF
Internet_of_Things_IoT_for_Next_Generation_Smart_Systems_Utilizing.pdf
PPT
software-security-intro in information security.ppt
PPTX
Building Cyber Resilience for 2026: Best Practices for a Secure, AI-Driven Bu...
PPTX
Cybercrime in the Digital Age: Risks, Impact & Protection
PPTX
Cybersecurity Best Practices - Step by Step guidelines
PPTX
Data Privacy and Protection: Safeguarding Information in a Connected World
Unser Jahresrückblick – MarvelClient in 2025
The year in review - MarvelClient in 2025
Digit Expo 2025 - EICC Edinburgh 27th November
Our Digital Tribe_ Cultivating Connection and Growth in Our Slack Community 🌿...
Coded Agents – with UiPath SDK + LangGraph [Virtual Hands-on Workshop]
Session 1 - Solving Semi-Structured Documents with Document Understanding
Cloud-and-AI-Platform-FY26-Partner-Playbook.pptx
Day 1 - Cloud Security Strategy and Planning ~ 2nd Sight Lab ~ Cloud Security...
Day 3 - Data and Application Security - 2nd Sight Lab Cloud Security Class
December Patch Tuesday
 
The major tech developments for 2026 by Pluralsight, a research and training ...
Chapter 3 Introduction to number system.pptx
Security Technologys: Access Control, Firewall, VPN
From Backup to Resilience: How MSPs Are Preparing for 2026
 
Internet_of_Things_IoT_for_Next_Generation_Smart_Systems_Utilizing.pdf
software-security-intro in information security.ppt
Building Cyber Resilience for 2026: Best Practices for a Secure, AI-Driven Bu...
Cybercrime in the Digital Age: Risks, Impact & Protection
Cybersecurity Best Practices - Step by Step guidelines
Data Privacy and Protection: Safeguarding Information in a Connected World

Mastering HTML: The Building Blocks of the Web


[8]ページ先頭

©2009-2025 Movatter.jp