Mastering HTML: A Beginner's Guide
2023003193, 2023003194, 9781032414331, 9781032414362, 9781003358077
An open-source, HyperText Markup Language, or HTML is a programming language used in website building and website templa
240
63
6MB
English
Pages 340
[341]
Year 2023
Report DMCA / Copyright
DOWNLOAD PDF FILE
Table of contents :
Cover
Half Title
Series Page
Title Page
Copyright Page
Dedication
Contents
About the Editor
Acknowledgments
Zeba Academy – Mastering Computer Science
Chapter 1: Fundamentals of HTML
INTRODUCTION
A BRIEF HISTORY OF HTML
WHY HTML IS CALLED A MARKUP LANGUAGE?
WHAT IS A MARKUP LANGUAGE?
DIFFERENT VERSIONS OF HTML
HTML 1.0
HTML 2
HTML 3.2
HTML 4.01
XHTML
HTML5
MARKUP IN HTML
HTML DOCUMENT TYPE
BASIC HTML CONCEPTS
HTML Tags
Paired Tag
Unpaired Tags
Heading Tags (H1 Tag to H6 Tag)
HTML p Tag – Paragraph Tag
HTML Tag – Anchor Tag
HTML img Tag– Image Tag
Self-Closing Tags
Utility-Based Tags
Structure Tags
Control Tags
HTML Tag List
STRUCTURE OF AN HTML DOCUMENT
HTML EDITORS AND TOOLS
WHAT IS AN HTML EDITOR?
HTML ELEMENT SYNTAX
CASE INSENSITIVITY IN TAGS AND ATTRIBUTES
EMPTY HTML ELEMENTS
NESTING HTML ELEMENTS
HTML COMMENTS
TYPES OF HTML COMMENTS
TYPES OF HTML ELEMENTS
HTML ATTRIBUTES
GENERAL ATTRIBUTES
The id Attribute
The class Attribute
The title Attribute
The style Attribute
MORE ABOUT STYLE ATTRIBUTES
Adding Styles to HTML Elements
Inline Styles
Adding Styles to HTML Elements
Inline Styles
Embedded Style Sheets
External Styles
Importing External Style Sheets
HTML Image
More about Image Attributes
HTML TABLE
SPANNING MULTIPLE ROWS AND COLUMNS
GIVE CAPTIONS TO TABLES
HTML PROPERTIES
WHAT TO DO WITH HTML
HOW DOES HTML WORK?
HTML CONTENT MODELS
ADVANTAGES
CHAPTER SUMMARY
NOTES
Chapter 2: HTML Basic Usage
HTML TAGS
STRUCTURE AND TAGS OF HTML DOCUMENTS
ANATOMY OF AN HTML ELEMENT
REFERENCE TO HTML ELEMENTS
MAIN ROOT OF HTML
DOCUMENT METADATA
ELEMENT DESCRIPTION
WAY TO SEPARATE THE ROOT IN HTML
CONTENT SECTIONING IN HTML
TEXTUAL CONTENT
SEMANTICS OF EMBEDDED TEXT
IMAGE AND MULTIMEDIA
ELEMENT DESCRIPTION
SVG AND MathML
SCRIPTING
TEXT ALTERATION
TABLE CONTENTS
FORMS CONTENT
OTHER INTERACTIVE ELEMENTS
WEB COMPONENTS
INLINE VS. BLOCK ELEMENTS
Block-Level Elements
ANATOMY OF HTML ELEMENTS
Creating an HTML Document
CREATING THE HIERARCHY OF HTML
PAGE TITLES
PARAGRAPHS AND FORMATTING
HEADINGS
IMAGES
Image Sources
LINKS
LISTS
Unordered Lists
Ordered Lists
ANOTHER WAY TO LIST STYLES
REVERSE-ORDERED LISTS
LIST STYLE TYPE
MULTILEVEL LISTS
COMMENTS
TABLES
SPECIAL CHARACTERS
BLOCKQUOTES
CHAPTER SUMMARY
NOTES
Chapter 3: Elements and Its Attributes
WEB BROWSERS
How Does It Work?
HTML Web Browser Support
HTML ATTRIBUTES
NON-BREAKING SPACE
COMBINING DIACRITICAL MARKS
Core Attributes
ID Attributes
The class Attribute
The style Attribute
GLOBAL ATTRIBUTES LIST
FORM ATTRIBUTES EVENTS LIST
KEYBOARD ATTRIBUTES EVENTS LIST
MOUSE ATTRIBUTES EVENTS LIST
DRAG ATTRIBUTES EVENTS LIST
WINDOW ATTRIBUTES EVENTS LIST
MEDIA ATTRIBUTES EVENTS LIST
HTML CHARACTER ENTITIES
COPYRIGHT, TRADEMARK, AND REGISTERED SYMBOL
PUNCTUATION SYMBOL
ARROWS SYMBOL
MATHEMATICAL SYMBOLS
OTHER SYMBOL
CURRENCY SYMBOLS
HTML URL
URL Syntax
COMMON URL SCHEMES
URL ENCODING
RESERVED CHARACTERS
UNRESERVED CHARACTERS
HTML META
CHARACTER DECLARATION ENCODING IN HTML
DEFINING THE AUTHOR, KEYWORDS, AND DESCRIPTION FOR SEARCH ENGINES
HTML SCRIPT
Embedding JavaScript
HTML NOSCRIPT ELEMENT
HTML LAYOUT
LAYOUT BY HTML TABLE
LAYOUT BASED ON HTML DIVISION TAG
CHAPTER SUMMARY
NOTES
Chapter 4: Formatting and Linking Tags
INTRODUCTION
TEXT FORMATTING TAGS
Explanations
Bold Text
Italic Text
Marked Formatting
Underlined Text
Strike Text
Superscript Text
Subscript Text
Deleted Text
Inserted Text
Larger Text
Smaller Text
HTML PHRASE TAG
Text Abbreviation Tag
Marked Tag
Definition Tag
Quoting Text
Short Quotations
Code Tags
Keyboard Tag
Address Tag
HTML – TEXT LINKS
Linking Documents
The target Attribute
Using the Base Path
LINKING TO A PAGE SECTION
Download Links
href Attribute
target Attribute
name Attribute
HTML URL
ABSOLUTE URLS VS. RELATIVE URLS
HTML LINK COLORS
DOCUMENT FRAGMENTS
CHAPTER SUMMARY
NOTES
Chapter 5: HTML Images and JavaScript
HTML FAVICON
HTML IMAGES
HTML TAG
WORKING WITH IMAGE MAPS IN HTML
HTML Iframe
Remove the Border of Iframe
Iframe Target for a Link
HTML JavaScript
EXTERNAL JavaScript
INTERNAL SCRIPT
EVENT HANDLER
FORM EVENTS
KEYBOARD EVENTS
THE ELEMENT
DEFAULT SCRIPTING LANGUAGE
HTML AUDIO AND VIDEO
Methods
AUDIO AND VIDEO ATTRIBUTE
HTML HEAD ELEMENT
The Element
The Element
The Element
The Element
CHAPTER SUMMARY
NOTES
Chapter 6: HTML Tables
HTML TABLES
ELEMENTS
TABLE CELLS
TABLE ROWS
HTML TABLE WITH BORDER
TABLE HEADERS
Cellpadding AND Cellspacing ATTRIBUTES
Cellpadding
Cellspacing
Cellpadding AND Cellspacing DIFFERENCE
colspan AND rowspan ATTRIBUTES
TABLES BACKGROUNDS
TABLE HEIGHT AND WIDTH
TABLE CAPTION
TABLE HEADER, BODY, AND FOOTER
NESTED TABLES
STYLING WITH
THE scope ATTRIBUTE
ATTRIBUTES ID AND HEADERS
HTML TABLE SIZES
HTML – EMBED MULTIMEDIA
Embedded Multimedia
The Tag
Supported Video Types
The Tag
The Tag
HTML MARQUEE
Usage
ATTRIBUTES IN TAG
SCROLLING SPEED
BLINK TEXT
CHAPTER SUMMARY
NOTES
Chapter 7: HTML Forms
HTML FORMS
BASIC STRUCTURE OF FORMS IN CSS
HTML FORM TAGS
VARIOUS FORM ATTRIBUTES
KEY DIFFERENCES
HTML FORM CONTROLS
HTML FORM INPUT TYPES
HTML INPUT ATTRIBUTES
CHAPTER SUMMARY
NOTES
Chapter 8: CSS
INTRODUCTION
HISTORY
CSS SYNTAX
DIFFERENT TYPES OF CSS YOU CAN USE
A DIFFERENT VERSION OF CSS
STARTING WITH A SPECIFIC HTML
LINKING YOUR HTML AND CSS FILES
HOW CSS AND HTML WORK TOGETHER
How to Apply Classes on Paragraph in HTML?
CSS COMMENTS
CSS Colors
Color Names
How to Use These Colors
CSS SELECTORS
Universal Selector
Element Type Selectors
Id Selector
Class Selectors
Descendant Selectors
Child Selectors
Adjacent Sibling Selectors
Sibling Selector
Grouping Selectors
SOME OTHER CONCEPTS OF CSS
CHAPTER SUMMARY
NOTES
APPRAISAL
INDEX