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

PPTX
Introduction to HTML- Week 3- HTMLSyntax
PPTX
HTML
PPT
Web forms and html (lect 1)
PPTX
Grade 10 COMPUTER
PPTX
HTML_HEADER PART TAGS .pptx
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
Introduction to Hypertext markup language
PPTX
Unit_II.pptx thtrhththtrhjjuyujymkfhtyhkmythkymkykymnkmyjnmyjmnykn
PPTX
INTRODUTION TO HTML.pptx
PPTX
Introduction-to-HTML-1258164251864545.pptx
PPTX
PPTX
T430-01-Introduction to HTML.pptx
PDF
WEB PROGRAMMING bharathiar university bca unitII
PPTX
Web topic 2 html
PPTX
BSC notes of _HTML_Easyto understand lease see.pptx
PPTX
Gail Borden Library | HTML/CSS Program
PDF
Web Engineering, Web design, development-2
PPTX
HTML/HTML5
PPTX
web programming, Introduction to html tags
KEY
Class1slides
PDF
Day1-HTML-CSS some basic css and html.pdf
PPTX
HTML.pptx
PPTX
Introduction to Web Techniques_Key componenets_HTML Basics
PPSX
HTML Comprehensive Overview
PPTX
Introduction to HTML.pptx
PDF
Day 3 - Data and Application Security - 2nd Sight Lab Cloud Security Class
PDF
Our Digital Tribe_ Cultivating Connection and Growth in Our Slack Community 🌿...

More Related Content

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

Similar to Mastering HTML: The Building Blocks of the Web

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

Recently uploaded

PDF
Day 3 - Data and Application Security - 2nd Sight Lab Cloud Security Class
PDF
Our Digital Tribe_ Cultivating Connection and Growth in Our Slack Community 🌿...
PPTX
THIS IS CYBER SECURITY NOTES USED IN CLASS ON VARIOUS TOPICS USED IN CYBERSEC...
PDF
API-First Architecture in Financial Systems
PDF
Six Shifts For 2026 (And The Next Six Years)
PDF
Day 5 - Red Team + Blue Team in the Cloud - 2nd Sight Lab Cloud Security Class
PDF
ElyriaSoftware — Powering the Future with Blockchain Innovation
PDF
Dev Dives: AI that builds with you - UiPath Autopilot for effortless RPA & AP...
PDF
Is It Possible to Have Wi-Fi Without an Internet Provider
PDF
Day 1 - Cloud Security Strategy and Planning ~ 2nd Sight Lab ~ Cloud Security...
PDF
Decoding the DNA: The Digital Networks Act, the Open Internet, and IP interco...
PPTX
AI in Cybersecurity: Digital Defense by Yasir Naveed Riaz
PDF
Internet_of_Things_IoT_for_Next_Generation_Smart_Systems_Utilizing.pdf
PPTX
Coded Agents – with UiPath SDK + LangGraph [Virtual Hands-on Workshop]
PDF
DevFest El Jadida 2025 - Product Thinking
PPTX
Protecting Data in an AI Driven World - Cybersecurity in 2026
PDF
Eredità digitale sugli smartphone: cosa resta di noi nei dispositivi mobili
PPTX
Chapter 3 Introduction to number system.pptx
PDF
Unlocking the Power of Salesforce Architecture: Frameworks for Effective Solu...
PPTX
AI's Impact on Cybersecurity - Challenges and Opportunities
Day 3 - Data and Application Security - 2nd Sight Lab Cloud Security Class
Our Digital Tribe_ Cultivating Connection and Growth in Our Slack Community 🌿...
THIS IS CYBER SECURITY NOTES USED IN CLASS ON VARIOUS TOPICS USED IN CYBERSEC...
API-First Architecture in Financial Systems
Six Shifts For 2026 (And The Next Six Years)
Day 5 - Red Team + Blue Team in the Cloud - 2nd Sight Lab Cloud Security Class
ElyriaSoftware — Powering the Future with Blockchain Innovation
Dev Dives: AI that builds with you - UiPath Autopilot for effortless RPA & AP...
Is It Possible to Have Wi-Fi Without an Internet Provider
Day 1 - Cloud Security Strategy and Planning ~ 2nd Sight Lab ~ Cloud Security...
Decoding the DNA: The Digital Networks Act, the Open Internet, and IP interco...
AI in Cybersecurity: Digital Defense by Yasir Naveed Riaz
Internet_of_Things_IoT_for_Next_Generation_Smart_Systems_Utilizing.pdf
Coded Agents – with UiPath SDK + LangGraph [Virtual Hands-on Workshop]
DevFest El Jadida 2025 - Product Thinking
Protecting Data in an AI Driven World - Cybersecurity in 2026
Eredità digitale sugli smartphone: cosa resta di noi nei dispositivi mobili
Chapter 3 Introduction to number system.pptx
Unlocking the Power of Salesforce Architecture: Frameworks for Effective Solu...
AI's Impact on Cybersecurity - Challenges and Opportunities

Mastering HTML: The Building Blocks of the Web


[8]ページ先頭

©2009-2025 Movatter.jp