This document was uploaded by one of our users. The uploader already confirmed that they had the permission to publish it. If you are author/publisher or own the copyright of this documents, please report to us by using this DMCA report form.
Sometimes the book is free on Amazon As well, so go ahead and hit "Search on Amazon"
An open-source, HyperText Markup Language, or HTML is a programming language used in website building and website templates. It is used to format the look and format of a web page, to set design features such as basic layout, colors, and fonts. CSS allows for continuity between different web pages on the site and makes webpage development easier and faster. CSS frameworks are used for developing responsive and mobile-friendly websites.
Mastering HTML: A Beginner’s Guide examines the fundamental concepts of HTML, its history, all the different versions available, and its advantages and disadvantages. Written in a concise and easy-to-understand format, each chapter includes examples and details of correct code output and HTML.
This book is a valuable resource for anyone who wants to create web page structures. After finishing this book, readers will be able to build their website quickly and with absolute ease.
Key Features
Discusses basic concepts of HTML such as common HTML attributes, doctype declaration, Block level elements, inline elements, etc.
Presents various elements, attributes and entities in HTML including a list of core attributes and entities used in HTML.
Examines HTML Forms and other advanced topic such as Graphics, Canvas, SVG, etc.
Introduces text formatting and links tags used in HTML such as blockquote, quotation, anchor and many more.
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