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
Six Shifts For 2026 (And The Next Six Years)
PDF
ElyriaSoftware — Powering the Future with Blockchain Innovation

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
Six Shifts For 2026 (And The Next Six Years)
PDF
ElyriaSoftware — Powering the Future with Blockchain Innovation
PDF
GPUS and How to Program Them by Manya Bansal
PPT
software-security-intro in information security.ppt
PPTX
wob-report.pptxwob-report.pptxwob-report.pptx
PPTX
THIS IS CYBER SECURITY NOTES USED IN CLASS ON VARIOUS TOPICS USED IN CYBERSEC...
PPTX
Software Analysis &Design ethiopia chap-2.pptx
PDF
Is It Possible to Have Wi-Fi Without an Internet Provider
PPTX
Building Cyber Resilience for 2026: Best Practices for a Secure, AI-Driven Bu...
PDF
Vibe Coding vs. Spec-Driven Development [Free Meetup]
PDF
The year in review - MarvelClient in 2025
PDF
DevFest El Jadida 2025 - Product Thinking
PPTX
Chapter 3 Introduction to number system.pptx
PDF
Day 3 - Data and Application Security - 2nd Sight Lab Cloud Security Class
PPTX
From Backup to Resilience: How MSPs Are Preparing for 2026
 
PPTX
Cybercrime in the Digital Age: Risks, Impact & Protection
PDF
Digit Expo 2025 - EICC Edinburgh 27th November
PDF
Security Technologys: Access Control, Firewall, VPN
PPTX
AI in Cybersecurity: Digital Defense by Yasir Naveed Riaz
PPTX
Kanban India 2025 | Daksh Gupta | Modeling the Models, Generative AI & Kanban
Six Shifts For 2026 (And The Next Six Years)
ElyriaSoftware — Powering the Future with Blockchain Innovation
GPUS and How to Program Them by Manya Bansal
software-security-intro in information security.ppt
wob-report.pptxwob-report.pptxwob-report.pptx
THIS IS CYBER SECURITY NOTES USED IN CLASS ON VARIOUS TOPICS USED IN CYBERSEC...
Software Analysis &Design ethiopia chap-2.pptx
Is It Possible to Have Wi-Fi Without an Internet Provider
Building Cyber Resilience for 2026: Best Practices for a Secure, AI-Driven Bu...
Vibe Coding vs. Spec-Driven Development [Free Meetup]
The year in review - MarvelClient in 2025
DevFest El Jadida 2025 - Product Thinking
Chapter 3 Introduction to number system.pptx
Day 3 - Data and Application Security - 2nd Sight Lab Cloud Security Class
From Backup to Resilience: How MSPs Are Preparing for 2026
 
Cybercrime in the Digital Age: Risks, Impact & Protection
Digit Expo 2025 - EICC Edinburgh 27th November
Security Technologys: Access Control, Firewall, VPN
AI in Cybersecurity: Digital Defense by Yasir Naveed Riaz
Kanban India 2025 | Daksh Gupta | Modeling the Models, Generative AI & Kanban

Mastering HTML: The Building Blocks of the Web


[8]ページ先頭

©2009-2025 Movatter.jp