100% found this document useful (4 votes)
36 views

PDF The Absolute Beginner's Guide to HTML and CSS: A Step-by-Step Guide with Examples and Lab Exercises 1st Edition Kevin Wilson download

Guide

Uploaded by

ahheefaraz58
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
100% found this document useful (4 votes)
36 views

PDF The Absolute Beginner's Guide to HTML and CSS: A Step-by-Step Guide with Examples and Lab Exercises 1st Edition Kevin Wilson download

Guide

Uploaded by

ahheefaraz58
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 41

Download the Full Version of ebook for Fast Typing at ebookmass.

com

The Absolute Beginner's Guide to HTML and CSS: A


Step-by-Step Guide with Examples and Lab Exercises
1st Edition Kevin Wilson

https://ebookmass.com/product/the-absolute-beginners-guide-
to-html-and-css-a-step-by-step-guide-with-examples-and-lab-
exercises-1st-edition-kevin-wilson/

OR CLICK BUTTON

DOWNLOAD NOW

Download More ebook Instantly Today - Get Yours Now at ebookmass.com


Recommended digital products (PDF, EPUB, MOBI) that
you can download immediately if you are interested.

Postman for API Testing: A Beginner's Guide: Learn to test


APIs like a pro with Postman with Real-World Examples and
Step-by-Step Guidance Parvin
https://ebookmass.com/product/postman-for-api-testing-a-beginners-
guide-learn-to-test-apis-like-a-pro-with-postman-with-real-world-
examples-and-step-by-step-guidance-parvin/
ebookmass.com

Web API Development for the Absolute Beginner: A Step-by-


step Approach to Learning the Fundamentals of Web API
Development with .NET 7 1st Edition Irina Dominte
https://ebookmass.com/product/web-api-development-for-the-absolute-
beginner-a-step-by-step-approach-to-learning-the-fundamentals-of-web-
api-development-with-net-7-1st-edition-irina-dominte/
ebookmass.com

Kubernetes Fundamentals: A Step-by-Step Development and


Interview Guide 1st Edition Himanshu Agrawal

https://ebookmass.com/product/kubernetes-fundamentals-a-step-by-step-
development-and-interview-guide-1st-edition-himanshu-agrawal/

ebookmass.com

Kubernetes Fundamentals: A Step-by-Step Development and


Interview Guide 1st Edition Himanshu Agrawal

https://ebookmass.com/product/kubernetes-fundamentals-a-step-by-step-
development-and-interview-guide-1st-edition-himanshu-agrawal-2/

ebookmass.com
Roblox Lua Scripting Essentials: A Step-by-Step Guide 1st
Edition Coutinho

https://ebookmass.com/product/roblox-lua-scripting-essentials-a-step-
by-step-guide-1st-edition-coutinho/

ebookmass.com

Game Theory: An Introduction with Step-by-Step Examples


Ana Espinola-Arredondo

https://ebookmass.com/product/game-theory-an-introduction-with-step-
by-step-examples-ana-espinola-arredondo/

ebookmass.com

How to Use SPSSu00ae: A Step By Step Guide to Analysis and


Interpretation 10th Edition, (Ebook PDF)

https://ebookmass.com/product/how-to-use-spss-a-step-by-step-guide-to-
analysis-and-interpretation-10th-edition-ebook-pdf/

ebookmass.com

How to Conduct Surveys: A Step-by-Step Guide 6th Edition –


Ebook PDF Version

https://ebookmass.com/product/how-to-conduct-surveys-a-step-by-step-
guide-6th-edition-ebook-pdf-version/

ebookmass.com

The OKRs Field Book Ben Lamorte

https://ebookmass.com/product/the-okrs-field-book-ben-lamorte/

ebookmass.com
The Absolute
Beginner’s Guide
to HTML and CSS
A Step-by-Step Guide with
Examples and Lab Exercises

Kevin Wilson
The Absolute
Beginner’s Guide to
HTML and CSS
A Step-by-Step Guide
with Examples and
Lab Exercises

Kevin Wilson
The Absolute Beginner’s Guide to HTML and CSS: A Step-by-Step Guide
with Examples and Lab Exercises

Kevin Wilson
WIDNES, UK

ISBN-13 (pbk): 978-1-4842-9249-5 ISBN-13 (electronic): 978-1-4842-9250-1


https://doi.org/10.1007/978-1-4842-9250-1

Copyright © 2023 by Kevin Wilson


This work is subject to copyright. All rights are reserved by the Publisher, whether the whole or
part of the material is concerned, specifically the rights of translation, reprinting, reuse of
illustrations, recitation, broadcasting, reproduction on microfilms or in any other physical way,
and transmission or information storage and retrieval, electronic adaptation, computer software,
or by similar or dissimilar methodology now known or hereafter developed.
Trademarked names, logos, and images may appear in this book. Rather than use a trademark
symbol with every occurrence of a trademarked name, logo, or image we use the names, logos,
and images only in an editorial fashion and to the benefit of the trademark owner, with no
intention of infringement of the trademark.
The use in this publication of trade names, trademarks, service marks, and similar terms, even if
they are not identified as such, is not to be taken as an expression of opinion as to whether or not
they are subject to proprietary rights.
While the advice and information in this book are believed to be true and accurate at the date of
publication, neither the authors nor the editors nor the publisher can accept any legal
responsibility for any errors or omissions that may be made. The publisher makes no warranty,
express or implied, with respect to the material contained herein.
Managing Director, Apress Media LLC: Welmoed Spahr
Acquisitions Editor: James Robinson-Prior
Development Editor: James Markham
Coordinating Editor: Gryffin Winkler
Cover designed by eStudioCalamar
Cover image designed by vectorjuice on Freepik
Distributed to the book trade worldwide by Springer Science+Business Media New York, 1
New York Plaza, Suite 4600, New York, NY 10004-1562, USA. Phone 1-800-SPRINGER, fax (201)
348-4505, e-mail orders-ny@springer-sbm.com, or visit www.springeronline.com. Apress Media,
LLC is a California LLC and the sole member (owner) is Springer Science + Business Media
Finance Inc (SSBM Finance Inc). SSBM Finance Inc is a Delaware corporation.
For information on translations, please e-mail booktranslations@springernature.com; for
reprint, paperback, or audio rights, please e-mail bookpermissions@springernature.com.
Apress titles may be purchased in bulk for academic, corporate, or promotional use. eBook
versions and licenses are also available for most titles. For more information, reference our Print
and eBook Bulk Sales web page at http://www.apress.com/bulk-sales.
Any source code or other supplementary material referenced by the author in this book is
available to readers on GitHub via https://github.com/Apress.
Printed on acid-free paper
Table of Contents
About the Author���������������������������������������������������������������������������������ix

About the Technical Reviewer�������������������������������������������������������������xi

Introduction���������������������������������������������������������������������������������������xiii

Chapter 1: Getting Started��������������������������������������������������������������������1


Linking Pages Together�����������������������������������������������������������������������������������������1
Where Are Web Pages Stored?������������������������������������������������������������������������������3
What Is a URL?������������������������������������������������������������������������������������������������������3
Index Pages�����������������������������������������������������������������������������������������������������������5
HTML5�������������������������������������������������������������������������������������������������������������������7
What Is CSS?���������������������������������������������������������������������������������������������������������7
Hosting������������������������������������������������������������������������������������������������������������������9
Installing Our Web Server��������������������������������������������������������������������������������9
Starting the Web Server��������������������������������������������������������������������������������������13
Saving Your Web Pages���������������������������������������������������������������������������������������15
Local Machine�����������������������������������������������������������������������������������������������15
Using a Web Host�������������������������������������������������������������������������������������������16
Development Tools and Code Editors������������������������������������������������������������������19
Lab Demo������������������������������������������������������������������������������������������������������������23
Lab Exercises������������������������������������������������������������������������������������������������������28
Summary������������������������������������������������������������������������������������������������������������29

iii
Table of Contents

Chapter 2: Introduction to HTML���������������������������������������������������������31


Structure of an HTML Page���������������������������������������������������������������������������������31
HTML Element Structure�������������������������������������������������������������������������������������34
Metadata�������������������������������������������������������������������������������������������������������������37
Lab Exercises������������������������������������������������������������������������������������������������������38
Summary������������������������������������������������������������������������������������������������������������39

Chapter 3: Getting Started with HTML������������������������������������������������41


Setting Up�����������������������������������������������������������������������������������������������������������42
Elements for Formatting Text������������������������������������������������������������������������������44
Headings��������������������������������������������������������������������������������������������������������46
Paragraphs����������������������������������������������������������������������������������������������������47
Bold Text��������������������������������������������������������������������������������������������������������47
Italic Text�������������������������������������������������������������������������������������������������������48
Page Background Color��������������������������������������������������������������������������������������51
Text Color������������������������������������������������������������������������������������������������������������53
Fonts�������������������������������������������������������������������������������������������������������������������54
HTML Entities������������������������������������������������������������������������������������������������������55
Adding Images����������������������������������������������������������������������������������������������������56
Understanding Image Dimensions����������������������������������������������������������������������58
Image Alignment�������������������������������������������������������������������������������������������������59
Background Image����������������������������������������������������������������������������������������������60
Adding Tables������������������������������������������������������������������������������������������������������63
Adding Links�������������������������������������������������������������������������������������������������������64
Using Images As Links����������������������������������������������������������������������������������������67
Preserve Formatting�������������������������������������������������������������������������������������������69

iv
Table of Contents

Adding Lists��������������������������������������������������������������������������������������������������������69
Unordered List�����������������������������������������������������������������������������������������������69
Ordered List���������������������������������������������������������������������������������������������������70
Structuring Your Web Page���������������������������������������������������������������������������������70
Lab Exercises������������������������������������������������������������������������������������������������������72
Summary������������������������������������������������������������������������������������������������������������73

Chapter 4: Cascading Style Sheets�����������������������������������������������������75


External CSS Files�����������������������������������������������������������������������������������������������76
CSS Syntax����������������������������������������������������������������������������������������������������������78
Element Type Selector�����������������������������������������������������������������������������������80
Class Selector������������������������������������������������������������������������������������������������80
ID Selector�����������������������������������������������������������������������������������������������������81
Universal Selector�����������������������������������������������������������������������������������������82
Grouping Selectors����������������������������������������������������������������������������������������82
Styling Text����������������������������������������������������������������������������������������������������������83
Specifying Colors������������������������������������������������������������������������������������������������85
Keyword��������������������������������������������������������������������������������������������������������85
Hex Value�������������������������������������������������������������������������������������������������������86
RGB Value������������������������������������������������������������������������������������������������������86
Understanding Measurement Units��������������������������������������������������������������������87
Padding, Margins, and Borders���������������������������������������������������������������������������88
Layouts���������������������������������������������������������������������������������������������������������������90
Flexbox����������������������������������������������������������������������������������������������������������91
Lab Exercises����������������������������������������������������������������������������������������������������124
Summary����������������������������������������������������������������������������������������������������������125

v
Table of Contents

Chapter 5: Special Effects����������������������������������������������������������������127


Text Effects�������������������������������������������������������������������������������������������������������127
Rounded Image Corners�����������������������������������������������������������������������������������129
Buttons��������������������������������������������������������������������������������������������������������������130
Gradients�����������������������������������������������������������������������������������������������������������131
Lab Exercises����������������������������������������������������������������������������������������������������133
Summary����������������������������������������������������������������������������������������������������������134

Chapter 6: Multimedia����������������������������������������������������������������������135
Adding Video�����������������������������������������������������������������������������������������������������135
Adding Audio�����������������������������������������������������������������������������������������������������139
Adding Image Maps������������������������������������������������������������������������������������������140
Lab Exercises����������������������������������������������������������������������������������������������������145
Summary����������������������������������������������������������������������������������������������������������146

Chapter 7: HTML Forms��������������������������������������������������������������������147


Adding Forms����������������������������������������������������������������������������������������������������148
Input Types��������������������������������������������������������������������������������������������������148
Labels����������������������������������������������������������������������������������������������������������151
Submit Button����������������������������������������������������������������������������������������������152
Building a Form�������������������������������������������������������������������������������������������������152
Styling a Form���������������������������������������������������������������������������������������������������153
Processing the Form Data���������������������������������������������������������������������������������156
Configure the Web Server to Execute Scripts����������������������������������������������156
Executing the Script������������������������������������������������������������������������������������������162
Submission Method������������������������������������������������������������������������������������������164
Get���������������������������������������������������������������������������������������������������������������164
Post�������������������������������������������������������������������������������������������������������������165

vi
Table of Contents

Lab Exercises����������������������������������������������������������������������������������������������������166
Summary����������������������������������������������������������������������������������������������������������167

Chapter 8: Introduction to JavaScript����������������������������������������������169


JavaScript Syntax���������������������������������������������������������������������������������������������172
Statements��������������������������������������������������������������������������������������������������172
Blocks����������������������������������������������������������������������������������������������������������172
Identifiers����������������������������������������������������������������������������������������������������172
Keywords�����������������������������������������������������������������������������������������������������173
Comments���������������������������������������������������������������������������������������������������173
First Program����������������������������������������������������������������������������������������������������174
Lab Exercise������������������������������������������������������������������������������������������������������175
Summary����������������������������������������������������������������������������������������������������������179

Chapter 9: Content Management Systems���������������������������������������181


Set Up WordPress on Our Server����������������������������������������������������������������������183
Web Development Frameworks������������������������������������������������������������������������199
Summary����������������������������������������������������������������������������������������������������������200

Appendix A: HTML Element Reference����������������������������������������������203

Appendix B: CSS Selector Reference������������������������������������������������215

Appendix C: CSS Color Codes�����������������������������������������������������������227

Index�������������������������������������������������������������������������������������������������235

vii
About the Author
With over 20 years of experience in the computer industry, Kevin Wilson
has made a career out of technology and is showing others how to use it.
After earning a master’s degree in computer science, software engineering,
and multimedia systems, Kevin has held various positions in the IT
industry including graphic and web design, digital film and photography,
programming and software engineering, developing and managing
corporate networks, building computer systems, and IT support. He
currently teaches computer science at college and works as an IT trainer in
England while researching for his Ph.D.

ix
About the Technical Reviewer
Jonathon Simpson is a product owner and engineer living in the UK. He
graduated from UCL in 2015. With many years of experience, he has
developed and run many successful projects both independently and in
large companies. He produces a popular software engineering blog called
fjolt.com and posts regular newsletters about the latest developments and
trends in JavaScript and web development.

xi
Introduction
The aim of this book is to provide a first course in the use of HTML
and CSS.
It provides a foundation for those who wish to develop their own
websites, and because the book is intended to be a primer, it allows the
beginner to become comfortable with basic HTML and CSS coding.
As it is a first course, no previous experience of computer
programming is assumed.
Throughout the book, we’ll explore HTML and CSS with worked
examples and lab exercises for you to complete yourself. We’ll also
introduce JavaScript and how it can be used to add interactivity to a
website, as well as using content management systems such as WordPress.
For this purpose, we’ve included all the source code for this book in
the following repository: https://github.com/Apress/The-Absolute-
Beginner-s-Guide-to-HTML-and-CSS

xiii
CHAPTER 1

Getting Started
Originally developed in the early 1990s by Tim Berners-Lee, HTML stands
for HyperText Markup Language and is a language used to lay out and
format documents for the World Wide Web that are designed to be displayed
in a web browser. In other words, the HTML code describes the structure of
a web page. HTML can be used with other technologies such as Cascading
Style Sheets (CSS) to style and format the document and scripting languages
such as JavaScript to provide functionality and interactive elements.
Basic knowledge of HTML is essential for students and anyone working
in web development. This will help you

• Understand the World Wide Web.

• Create and customize your own websites: You can


create a website or customize an existing web template
if you know HTML.
• Become a web developer: If you want to start a career
as a professional web developer, HTML and CSS are
essential skills.

Linking Pages Together


Web pages are all linked together using clickable text or images, called
hyperlinks. This is known as hypertext and enables you to create multiple
pages on a website that allow the user to browse through the pages by
clicking these hyperlinks.
© Kevin Wilson 2023 1
K. Wilson, The Absolute Beginner’s Guide to HTML and CSS,
https://doi.org/10.1007/978-1-4842-9250-1_1
Chapter 1 Getting Started

Hyperlinks can also link to pages and resources hosted on other


websites.
The links can be embedded into the body of a paragraph as an
underlined word or as an image or icon. This is called hypertext.
As you can see in Figure 1-1, on the left, the hyperlinks appear in
light blue text. When you click the link, the browser will take you to the
linked page.

Figure 1-1. Hypertext Document

2
Chapter 1 Getting Started

Where Are Web Pages Stored?


A website and its pages are stored or hosted on a web server. Web servers
are computers usually running Windows Server or, more commonly, some
flavor of the Linux operating system such as CentOS. Running on these
machines is a piece of software called a web server. This is usually Apache,
IIS, or NGINX (pronounced “Engine X”).

What Is a URL?
Each website on the World Wide Web has an address called a URL
(Figure 1-2) or Uniform Resource Locator.

Figure 1-2. Anatomy of a URL

The URL itself can be broken down into its basic elements. Let’s take a
closer look at an example:

https://www.ellumitechacademy.com

The "www.ellumitechacademy.com" part is called the hostname.

Let’s break the URL down into its different parts.


https:// stands for hypertext transfer protocol secured and is the
protocol the web browser is using to connect to the server. This is known
as the scheme.
You might find other schemes such as ftp:// if you are connecting to an
FTP site.

3
Chapter 1 Getting Started

www is the name of the server hosting the service or subdomain, in


this case www for the World Wide Web, and usually points to your public_
html or htdocs directory on the web server.
This can also be another service such as an email server:

mail.ellumitechacademy.com

or perhaps a subdomain for the website’s online store:

shop.ellumitechacademy.com

ellumitechacademy is the domain name or organization’s name and


is unique to that organization. This is known as a second-level domain.
.com is the type of site. It can be .co.x for country-specific companies
(e.g., .co.uk), .org for nonprofit organizations, or .gov for government
organizations. These are known as top-level domain names and are
designed to identify the types of companies represented on the Web.
After the domain name, you might find a forward slash, then another
name. This is known as a subdirectory or path. For example, to access the
courses directory on the web server, we’d use

www.ellumitechacademy.com/courses

or for an html directory inside courses, we’d use

www.ellumitechacademy.com/courses/html

If we want to access a web page or a file for download, we add the path
and file name of the file or document:

www.ellumitechacademy.com/aboutus.html

or a file in the downloads directory:

www.ellumitechacademy.com/downloads/menu.pdf

4
Discovering Diverse Content Through
Random Scribd Documents
Valley of the Nile was regarded as a direct violation of the
rights of Egypt and Great Britain, and that, in accordance
with my instructions, I must protest in the strongest terms
against their occupation of Fashoda, and their hoisting of the
French flag in the dominions of His Highness the Khedive. In
reply, M. Marchand stated that as a soldier he had to obey
orders; the instructions of his Government to occupy the
Bahr-el-Ghazal and the Mudirieh of Fashoda were precise, and,
having carried them out, he must await the orders of his
Government as to his subsequent action and movements. I then
pointed out that I had the instructions of the Government to
re-establish Egyptian authority in the Fashoda Mudirieh, and I
asked M. Marchand whether he was prepared—on behalf of the
French Government—to resist the execution of these orders; he
must be fully aware, I said, that the Egyptian and British
forces were very much more powerful than those at his
disposal, but, at the same time, I was very averse to creating
a situation which might lead to hostilities. I therefore
begged M. Marchand to most carefully consider his final
decision on this matter. I further informed him that I should
be pleased to place one of the gun-boats at his disposal to
convey him and his expedition north. In answer to this, M.
Marchand did not hesitate to admit the preponderating forces
at my disposal, and his inability to offer effective armed
resistance; if, however, he said, I felt obliged to take any
such action, he could only submit, to the inevitable, which
would mean that he and his companions would die at their
posts. He begged, therefore, that I would consider his
position, and would allow the question of his remaining at
Fashoda to be referred to his Government, as, without their
orders, he could not retire from his position or haul down his
flag; at the same time, he said he felt sure that, under the
circumstances, the orders for his retirement would not be
delayed by his Government, and that then he hoped to avail
himself of the offer I had made him. I then said to him: 'Do I
understand that you are authorized by the French Government to
resist Egypt in putting up its flag and reasserting its
authority in its former possessions—such as the Mudirieh of
Fashoda?' M. Marchand hesitated, and then said that he could
not resist the Egyptian flag being hoisted. I replied that my
instructions were to hoist the flag, and that I intended to do
so. … The Egyptian flag was hoisted … at 1 P. M. with due
ceremony in the presence of the British and Egyptian troops,
and a salute of twenty-one guns was fired.
{200}
I should add that, in the course of the conversation, I
informed M. Marchand that, in addition to my verbal protest, I
intended to make a formal protest in writing, and this I duly
handed him before leaving Fashoda. During these somewhat
delicate proceedings nothing could have exceeded, the
politeness and courtesy of the French officers. Having
officially appointed Major Jackson Commandant of the Fashoda
district, and leaving with him a battalion of infantry, four
guns, and a gun-boat, I proceeded south with the remainder of
the troops and four gun-boats. …

"I had no opportunity for a further interview with M.


Marchand, who, I venture to think, holds at Fashoda a most
anomalous position—encamped with 120 men on a narrow strip of
land, surrounded by marshes, cut off from access to the
interior, possessing only three small boats without oars or
sails and an inefficient steam-launch which has lately been
dispatched on along journey south, short of ammunition and
supplies, his followers exhausted by years of continuous
hardship, yet still persisting in the prosecution of his
impracticable undertaking in the face of the effective
occupation and administration of the country I have been able
to establish. It is impossible not to entertain the highest
admiration for the courage, devotion, and indomitable spirit
displayed by M. Marchand's expedition, but our general
impression was one of astonishment that an attempt should have
been made to carry out a project of such magnitude and danger
by the dispatch of so small and ill-equipped a force which—as
their Commander remarked to me, was neither in a position to
resist a second Dervish attack nor to retire—indeed, had our
destruction of the Khalifa's power at Omdurman been delayed a
fortnight, in all probability he and his companions would have
been massacred. The claims of M. Marchand to have occupied the
Bahr-el-Ghazal and Fashoda Provinces with the force at his
disposal would be ludicrous did not the sufferings and
privations his expedition endured during their two years'
arduous journey render the futility of their efforts
pathetic."

Great Britain, Parliamentary Publications


(Papers by Command: Egypt, Numbers 2 and 3, 1898).

The "Fashoda incident," as it was described, caused great


excitement in both England and France, and threatened for some
weeks to involve the two countries in war. Both army feeling
and popular feeling in France very nearly forced the
government to persist in what was plainly an ill-considered
and inopportune movement, and to hold untenable ground. But
better sense prevailed, and, on the 2d of November, when the
Sirdar, Lord Kitchener, who had visited England, was being
feasted and given the freedom of London, at Guildhall, Lord
Salisbury was able to make a dramatic announcement of the
closing of the dispute. "I received," he said, speaking at the
banquet, "from the French ambassador this afternoon the
information that the French Government had come to the
conclusion that the occupation of Fashoda was of no sort of
value to the French Republic, and they thought that, under
those circumstances, to persist in an occupation which only
cost them money and did them harm, merely because some
people—some bad advisers—thought it might be disagreeable to
an unwelcome neighbor, would not show the wisdom with which, I
think, the French Republic has been uniformly guided, and they
have done what I believe many other governments would have
done in the same position—they have resolved that the
occupation must cease."
EGYPT: A. D. 1898-1899.
The Gordon Memorial College at Khartoum.

On an appeal from Lord Kitchener, funds were raised in Great


Britain for the founding of a Gordon Memorial College at
Khartoum, to be, in the first instance, a school for
elementary instruction to the sons of the heads of districts
and villages.

EGYPT: A. D. 1898-1901.
The Barrage and Reservoir works on the Nile.

In February, 1898, the Khedive in Council approved a contract


concluded with the British firm of John Aird & Company, for
the construction of a dam or "barrage" across the Nile at
Assouan, drowning the cataracts and turning the river above
into a vast storage reservoir; with another dam at Assiout,
for the irrigation of Middle Egypt and the Fayum. In the
report of Lord Cromer for 1898, Sir William Garstein, at the
head of the Egyptian Public Works Department, gave the
following description of the plan of the works, then fairly
under way: "The dam which is to form the reservoir will be
built at the first cataract, a few miles south of Assouan. It
is designed to hold up water to a level of 106 metres above
mean sea level, or rather more than 20 metres above the
low-water level of the Nile at site. Its total length will be
2,156 yards with a width at crest of 26.4 feet. The width of
base at the deepest portion will be 82.5 feet, and the height
of the work at the deepest spot will be 92.4 feet. The dam
will be pierced by 180 openings, or under-sluices (140 of
which are 23.1 feet by 6.6 feet and 40 are 18.2 feet by 6.6
feet) provided with gates. These sluices will pass the flood
and surplus water through the dam, and by them the reservoir
will be emptied when water is required for irrigation in
Middle and Lower Egypt. Three locks will be built, and a
navigation channel made on the west of the river to enable
boats to pass up and down.
"The dam at Assiout will be what is called an open Barrage,
and will be similar in construction to the existing Barrages
on the Rosetta and Damietta branches. The new work will
consist of 111 bays or openings, each 16.5 feet wide, and each
bay will be provided with regulating gates. The total length
of the work will be 903 yards. A lock 53 feet in width will be
constructed on the west bank, large enough to pass the largest
tourist boat plying on the river. By regulating on this
Barrage water will be supplied in spring and summer to the
Ibrahimieh Canal, which irrigates Middle Egypt. At present
this canal has to be dredged to a depth of some 2 metres below
the lowest summer level in the river, and even with these the
crops suffer in years of low summer supply. A regulation
bridge with a lock will be built at the head of the Ibrahimieh
Canal in order to allow of the supply being reduced, if
necessary, in flood."

Great Britain, Papers by Command: Egypt,


Number 3, 1899.

By a singular happening, the Nile flood of 1899 was the lowest


recorded in the century, and gave an opportunity for the
barrage and irrigation works, barely begun as they were, to
give a convincing foretaste of their value. According to the
report of that year, "the distress was enormously less than on
all previous occasions of a failure of the flood. The area of
'sharaki,' or land unirrigated and therefore untaxed, which
had been 900,000 feddans in 1877 was only one-third of this in
1899.
{201}
Even in this area, which lay principally in Upper Egypt,
'distress,' says Sir William Garstein, 'was hardly felt at all
by the people. The immense amount of contract work in progress
in the country enabled them to obtain a good daily wage and
tided over the interval between the two crops.' In Lower Egypt
'the situation was saved by the Barrage, which, for the first
time in its history, was regulated upon throughout the flood.
Had it not been for the work done by this structure, there is
little doubt that large areas of crop would have been lost. As
it is, the cotton crop is very nearly the largest on record,
and the maize crop was up to the average.'" Of the progress of
the work at Assouan it is said: "After nearly a year had been
spent in accumulation of material and various preparations,
the foundation stone of the dam was laid by H. R. H. the Duke
of Connaught on February 12; and from that date the work was
carried on with less interruption than must have been
necessitated by a normal flood. Beginning on the east bank,
masonry was carried on throughout a length of 620 metres, and
of these, 360 metres were brought up to within two metres of
their full height. … Not less satisfactory progress was made
with the weir at Assiut, although the original design had to
be considerably altered."

On the 7th of February, 1901, a Press despatch from Cairo


reported: "Sir John Aird and Sir Benjamin Baker start for
England on Sunday next, having completed their visit of
inspection to the great engineering works at Assuan, where the
immense dam to hold up the waters of the Nile is being
constructed. The total extent of the dam is one mile and a
quarter, of which one mile and an eighth of the foundation is
finished. Temporary dams enabling the remaining section to be
put in are now carried across the channel. Pumps for getting
in the permanent dam foundations will be started next week.
The whole of the granite masonry required for the dam is cut
and ready to be laid in its place. The parapet alone remains
to be prepared. The portion of the dam remaining to be built
is that across the well-known deep western channel. The work
is of considerable difficulty, but the experience gained last
season in dealing with other channels has rendered the
engineers and contractors confident that equal success will be
obtained this year in the western channel. The dam is pierced
with 180 openings, about 23 feet high and 7 feet wide, which
openings are controlled by steel sluices. The work for the
latter is now well advanced. The discharge through these
sluices at high Nile may reach 15,000 tons of water per
second. The navigation channel and chain of locks are equally
advanced with the dam itself, and the lock gates will also be
in course of construction in about three months. Unless
anything unforeseen occurs the reservoirs will be in operation
for the Nile flood of 1903. This will be well within the
contract time, although owing to the increased depth of the
foundations the work done by the contractors has been largely
increased.

"At Assiut the great regulating dam across the Nile approaches
completion, the foundations being practically all in position,
leaving a portion of the superstructure to be completed. The
sluice openings here number 119, all 16 feet wide. This dam is
somewhat similar in principle to the well-known barrage near
Cairo, but the details of construction are entirely different,
as the foundations are guarded against undermining by a
complete line of cast iron and steel-piling above and below
the work. The barrage itself is constructed of high-class
masonry instead of brickwork as at the old barrage. Although
the Assiut barrage is overshadowed by the greater magnitude of
the Assuan dam, it will, doubtless, rank second as the
monumental work of Egypt."

EGYPT: A. D. 1899 (January).


The Anglo-Egyptian Condominium established in the Sudan.

The following agreement between the British government and


that of the Khedive of Egypt, relative to the future
administration of the Sudan, establishing a condominium or
joint dominion therein, was signed at Cairo on the 19th of
January, 1899, and made public the same day:

Whereas certain provinces in the Sudan which were in rebellion


against the authority of His Highness the Khedive have now
been reconquered by the joint military and financial efforts
of Her Britannic Majesty's Government and the Government of
His Highness the Khedive; and whereas it has become necessary
to decide upon a system for the administration of and for the
making of laws for the said reconquered provinces, under which
due allowance may be made for the backward and unsettled
condition of large portions thereof, and for the varying
requirements of different localities; and whereas it is
desired to give effect to the claims which have accrued to Her
Britannic Majesty's Government by right of conquest, to share
in the present settlement and future working and development
of the said system of administration and legislation; and
whereas it is conceived that for many purposes Wadi Haifa and
Suákin may be most effectively administered in conjunction
with the reconquered provinces to which they are respectively
adjacent; now, it is hereby agreed and declared by and between
the Undersigned, duly authorized for that purpose, as follows:

ARTICLE I.
The word "Sudan" in this Agreement means all the territories
South of the 22nd parallel of latitude, which:

1. Have never been evacuated by Egyptian troops since the year


1882; or

2.
Which, having before the late rebellion in the Sudan been
administered by the Government of His Highness the Khedive,
were temporarily lost to Egypt, and have been reconquered by
Her Majesty's Government and the Egyptian Government acting in
concert; or

3. Which may hereafter be reconquered by the two Governments


acting in concert.

ARTICLE II.
The British and Egyptian flags shall be used together, both on
land and water, throughout the Sudan, except in the town of
Suákin, in which locality the Egyptian flag alone shall be
used.

ARTICLE III.
The supreme military and civil command in the Sudan shall be
vested in one officer, termed the "Governor-General of the
Sudan." He shall be appointed by Khedivial Decree on the
recommendation of Her Britannic Majesty's Government, and
shall be removed only by Khedivial Decree, with the consent of
Her Britannic Majesty's Government.

{202}

ARTICLE IV.
Laws, as also Orders and Regulations with the full force of
law, for the good government of the Sudan, and for regulating
the holding, disposal, and devolution of property of every
kind therein situate, may from time to time be made, altered,
or abrogated by Proclamation of the Governor-General. Such
Laws, Orders, and Regulations may apply to the whole of any
named part of the Sudan, and may, either explicitly or by
necessary implication, alter or abrogate any existing Law or
Regulation. All such Proclamations shall be forthwith notified
to Her Britannic Majesty's Agent and Consul-General in Cairo, and
to the President of the Council of Ministers of His Highness
the Khedive.

ARTICLE V.
No Egyptian Law, Decree, Ministerial Arrêté, or other
enactment hereafter to be made or promulgated shall apply to
the Sudan or any part thereof, save in so far as the same
shall be applied by Proclamation of the Governor-General in
manner hereinbefore provided.

ARTICLE VI.
In the definition by Proclamation of the conditions under
which Europeans, of whatever nationality, shall be at liberty
to trade with or reside in the Sudan, or to hold property
within its limits, no special privileges shall be accorded to
the subjects of anyone or more Power.

ARTICLE VII.
Import duties on entering the Sudan shall not be payable on
goods coming from Egyptian territory. Such duties may,
however, be levied on goods coming from elsewhere than
Egyptian territory, but in the case of goods entering the
Sudan at Suákin, or any other port on the Red Sea Littoral,
they shall not exceed the corresponding duties for the time
being leviable on goods entering Egypt from abroad. Duties may
be levied on goods leaving the Sudan at such rates as may from
time to time be prescribed by Proclamation.

ARTICLE VIII.
The jurisdiction of the Mixed Tribunals shall not extend, nor
be recognized for any purpose whatsoever, in any part of the
Sudan, except in the town of Suákin.

ARTICLE IX.
Until, and save so far as it shall be otherwise determined, by
Proclamation, the Sudan, with the exception of the town of
Suákin, shall be and remain under martial law.

ARTICLE X.
No Consuls, Vice-Consuls, or Consular Agents shall be
accredited in respect of nor allowed to reside in the Sudan,
without the previous consent of Her Britannic Majesty's
Government.

ARTICLE XI.
The importation of slaves into the Sudan, as also their
exportation, is absolutely prohibited. Provision shall be made
by Proclamation for the enforcement of this Regulation.

ARTICLE XII.
It is agreed between the two Governments that special
attention shall be paid to the enforcement of the Brussels Act
of the 2nd July 1890, in respect to the import, sale, and
manufacture of fire-arms and their munitions, and distilled or
spirituous liquors.

Done in Cairo, the 19th January, 1899.


(Signed) Boutros Ghali-Cromer.

A. S. White, The Expansion of Egypt,


Appendix V. (New York: New Amsterdam Book Company)

By a subsequent, agreement signed July 10, the exceptions in


the above relative to Suákin were abrogated.

EGYPT: A. D. 1899-1900.
Final defeat and death of the Khalifa.
Capture of Osman Digna.
Condition of the Sudan.

The Khalifa, who escaped from the scene of his overthrow at


Omdurman, in 1898, kept a following of his own tribe, the
Baggaras, sufficient to give trouble for more than another
year. At length, late in November, 1899, he was overtaken by
Sir Francis Wingate, who succeeded General Kitchener as
Governor-General of the Sudan, and was killed in a battle
fought near Gedil. Again Osman Digna, his able lieutenant,
escaped; but in January of the following year the latter was
captured and taken to Suez.

In a report to Lord Salisbury, made on the 20th of February,


1900, Lord Cromer, British Agent and Consul-General in Egypt,
gave the following account of the general state of affairs in
the Sudan:

"The territorial situation may be briefly described as


follows:—The frontier between the Soudan and the Italian
Colony of Erythræa has now been delimitated from Ras Kasar, on
the Red Sea, to Sabderat, a few miles east of Kassala.
Negotiations are proceeding which will, without doubt, result
before long in the delimitation of the small remaining portion
of the Italian frontier from Sabderat up to the point where it
strikes Abyssinian territory. The most friendly relations
exist between the British and Abyssinian Governments. The
general basis of a frontier arrangement in respect to the
country lying west of the Blue Nile has already been settled
with the Emperor Menelek. When the survey party, now being
employed, has finished its work, it may confidently be
expected that the detailed delimitation will be carried out
without much difficulty.

"An endeavour is being made to cut through the sudd which


obstructs the White Nile, and thus open up communication with
Uganda. To a certain extent this communication may be said to
be already established, for a mixed party, consisting of
British, French, and Belgian officers, with their followers,
arriving from the South, recently succeeded in getting through
and joining the Egyptian party, under Major Peake, which was
engaged in cutting the sudd. … From the moment of the
Khalifa's crushing defeat at Omdurman, the desert and Kordofan
tribes, with the exception of a certain number of Baggaras who
still adhered to the cause of their Chief, threw in their lot
with the Government. Most of these tribes, however, rendered
but little active assistance to the Government in the
subsequent operations against the Khalifa. Omdurman and the
Ghezireh [the tract of country lying south of Khartoum,
between the White and Blue Niles] were found to be full of
Arabs belonging to the Kordofan and far western tribes, who
had been brought from their homes by the Khalifa. They were
without any regular means of subsistence, but, in the existing
state of insecurity, it was for the time being impossible for
them to return to their own districts. … The inhabitants of
the districts which were raided by the Dervishes were obliged
to take refuge in the Ghezireh, with the result that the
situation remained practically unchanged until the Khalifa's
overthrow and death. Since then, the main objects of the
Government have been to send back to their homes the
inhabitants of the gum producing region, and to get rid of the
useless mouths from the Ghezireh. In respect to the first
point, some success has attended their efforts, but many
thousands of Arabs belonging to tribes whose homes are in
Kordofan and Darfour, still remain in the Ghezireh. … The
attitude of the Nubas and of other tribes in Central and
Southern Kordofan has, since the battle of Omdurman, been
perfectly satisfactory. … Some long time must certainly elapse
before prosperity returns to the tribes in the Soudan. The
population has wasted away under Dervish rule."

Great Britain, Papers by Command:


Egypt, Number 1, 1900, pages 43-44.

----------EGYPT: End--------

{203}

ELAM.

See (in volume 1)


BABYLONIA, PRIMITIVE;

(in volume 4)
SEMITES;

and (in this volume)


ARCHÆOLOGICAL RESEARCH: BABYLONIA, and PERSIA.

ELANDSLAAGTE, Battle of.

See (in this volume)


SOUTH AFRICA (THE FIELD OF WAR):
A. D. 1899 (OCTOBER-DECEMBER).
ELBE-RHINE CANAL PROJECT, The.

See (in this volume)


GERMANY: A. D. 1899 (AUGUST); and 1901 (JANUARY).

EL CANEY, Battle of.

See (in this volume)


UNITED STATES OF AMERICA: A. D. 1898 (JUNE-JULY).

ELECTRICAL SCIENCE, Recent advances in.

See (in this volume)


SCIENCE, RECENT: ELECTRICAL.

ELIZABETH, Empress of Austria:


Assassination.

See (in this volume)


AUSTRIA-HUNGARY: A. D. 1898 (SEPTEMBER).

EL ZANJON, Treaty of.

See (in this volume)


CUBA: A. D. 1868-1885.

EMPLOYERS' FEDERATION, British.

See (in this volume)


INDUSTRIAL DISTURBANCES; A. D. 1897.

EMPLOYERS' LIABILITY BILL, The English.

See (in this volume)


ENGLAND: A. D. 1897 (MAY-JULY).
EMPRESS-DOWAGER, of China, The.

See (in this volume)


CHINA: A. D. 1898 (OCTOBER), and after.

ENGINEERS, Strike and lockout of British.

See (in this volume)


INDUSTRIAL DISTURBANCES: A. D. 1897.

----------ENGLAND (GREAT BRITAIN): Start--------

ENGLAND: A. D. 1894.
The commandeering question with the South African Republic.

See (in this volume)


SOUTH AFRICA (THE TRANSVAAL): A. D. 1894.

ENGLAND: A. D. 1894-1895.
Retirement of Mr. Gladstone from public life.
Earl of Rosebery Prime Minister.
His speech on the "predominant member" and Home Rule.
Weakening and overthrow of the Liberal Government.
Dissolution of Parliament.
Conservative and Unionist triumph.
Third Ministry of Lord Salisbury.

Mr. Gladstone, who had passed his 84th year, whose health was
failing, and who might justly consider that his public work
was done, resigned his post as Prime Minister, on the 2d of
March, 1894, and the Earl of Rosebery, on his recommendation,
was called by the Queen to take his place. Slight changes,
otherwise, were made in the cabinet, but the spirit in the
Liberal government was no longer the same. The new Premier
soon signified that his disposition in the matter of Home Rule
for Ireland was not quite what Mr. Gladstone's had been, by
using the following language in a speech (March 13) in the
House of Lords:

"Before Irish Home Rule is conceded by the Imperial Parliament


England, as the predominant member of the partnership of the
three kingdoms, will have to be convinced of its justice. That
may seem to be a considerable admission to make, because your
lordships will know that the majority of English members of
Parliament, ejected from England proper, are hostile to Home
Rule. But I believe that the conviction of England in regard
to Home Rule depends on one point alone, and that is the
conduct of Ireland herself. I believe that if we can go on
showing this comparative absence of agrarian crime; if we can
point to the continued harmony of Ireland with the great
Liberal party of this country; if we can go on giving proofs
and pledges that Ireland is entitled to be granted that boon
which she has never ceased to demand since the Act of Union
was passed. I believe that the conversion of England will not
be of a slow or difficult character. My lords, the question of
Home Rule is one that I regard not from the point of view of
Ireland only. It has for me a triple aspect. It has, in the
first place, the aspect that I believe that Ireland will never
be contented until this measure of Home Rule be granted to
her; and that, though you may come in on other issues and
succeed us who sit here, your policy of palliatives is bound
to fail. In the second place, I believe that not merely have
we in our Irish policy to satisfy those who live in the island
of Ireland itself, encompassed, as Mr. Disraeli once said, by
that melancholy ocean, we have not merely to satisfy the Irish
themselves within Ireland, but, for the good of our Empire and
for the continuity and solidarity of our relations with our
brethren across the Atlantic, it is necessary that we should
produce an Irish policy which shall satisfy the Irish people.
And, lastly, I view it from the highest Imperial grounds,
because I believe that the maintenance of this Empire depends,
not on centralization, but on decentralization, and that if
you once commence to tread this path, you will have to give
satisfaction under the same conditions certainly to Scotland,
and possibly to Wales, not in the same degree or possibly in
the same way, but so as to relieve this groaning Imperial
Parliament from the burden of legislation under which it
labours. I will not detain you further on this subject
to-night. I did not mean to dilate so much on the question of
Home Rule."

His remarks seemed to show an intention to postpone the


pressing of the measure. Distrust arose among the Irish and
uncertainty was created in the mind of the Liberal party. It
became evident very quickly that the Liberals, with the loss
of their old leader, had lost heart and faith in the policy to
which he had committed them, and that a serious weakening of
the political energies of the party had been produced. No
measures which raised troublesome issues were undertaken in
Parliament during the year of Mr. Gladstone's retirement: but,
at the session which opened in the following February (1895), the
government brought forward a number of high]y important bills.

{204}

The first to be introduced was a bill "to terminate the


Establishment of the Church of England in Wales and Monmouth."
The bill made provision for the creation of a representative
Church body, giving power to the bishops, clergy and laity to
hold synods and to legislate on ecclesiastical matters. It
entrusted ecclesiastical revenues to a commission; provided
for the transfer of churches and parsonages to the
representative body of the Church, and of burial grounds and
glebes to parish, district, and town councils; other property
of the Church to be vested in the commission before mentioned,
which should also have the charge of cathedrals, to keep them in
repair. The bill had its first reading on the 28th of
February, and its second on the 1st of April, but went no
further. It shared the fate of the other measures of the
Government, including a bill to establish local control of the
liquor traffic, and others for the remedying of defects in the
Irish Land Law, and for the abolition of plural voting, all of
which were extinguished by the sudden and unexpected overthrow
of the Government on the 21st of June. It was defeated on a
motion to reduce the salary of the Secretary for War, which
was made for no purpose but to start a question as to the
adequacy of the provision of certain ammunition stored for
use. When the vote was found to be against the Government
there was great surprise in both parties. But the Ministry had
been steadily losing support and was quite willing to resign,
which it did the next day. Lord Salisbury was sent for by the
Queen and accepted the task of forming a new Government, with
the understanding that Parliament should be dissolved as soon
as practicable, and the will of the country ascertained. In
the new Government, Lord Salisbury filled the office of
Secretary of State for Foreign Affairs, with that of Prime
Minister; Mr. A. J. Balfour became First Lord of the Treasury;
Sir Michael Hicks-Beach Chancellor of the Exchequer; Mr.
Joseph Chamberlain Secretary of State for the Colonies; Mr. G.
J. Goschen First Lord of the Admiralty. Before the dissolution
of Parliament, which occurred on the 6th of July, a bill for
the amendment of the Factories Act, on which both parties
agreed, was passed. The elections that followed, beginning
July 13, resulted in the return of a majority of 152 in favor
of the new Ministry, which represented the coalition of
Conservatives and Liberal Unionists. The majority of the
popular vote on the same side in the three kingdoms was a
little more than 30,000, in a total poll of 4,792,512; but in
Eng]and the new Government received a majority of some
300,000. In Ireland the vote went heavily against them, and in
Wales and Scotland to a lighter extent. Of the Irish members
elected, 12 were of the Parnell faction and 69 Anti-Parnell.
The new Parliament came together August 12, and, after a brief
session, at which little was done, was prorogued September 5.

ENGLAND: A. D. 1895.
Enforcement of claims against Nicaragua.
See (in this volume)
CENTRAL AMERICA (NICARAGUA): A. D. 1894-1895.

ENGLAND: A. D. 1895.
The question of Chitral.

See (in this volume)


INDIA: A. D. 1895 (MARCH-SEPTEMBER).

ENGLAND: A. D. 1895 (January).


Agreement with France defining the boundaries of the
Hinterland of Sierra Leone.

See (in this volume)


SIERRA LEONE PROTECTORATE.

ENGLAND: A. D. 1895 (March-July).


Agreement with Russia concerning the northern Afghan frontier
and spheres of influence in the Pamir region.

See (in this volume)


AFGHANISTAN: A. D. 1895.

ENGLAND: A. D. 1895 (July-November).


Correspondence with the Government of the United States
on the Venezuela boundary question.

See (in this volume)


VENEZUELA: A. D. 1895 (JULY) and (NOVEMBER).

ENGLAND: A. D. 1895 (November).


Action on the closing of the Vaal River Drifts by the South
African Republic.

See (in this volume)


SOUTH AFRICA (THE TRANSVAAL):
A. D. 1895 (SEPTEMBER-DECEMBER).
ENGLAND: A. D. 1895 (December).
Message of the President of the United States to Congress
on the British Guiana-Venezuela boundary dispute.

See (in this volume)


VENEZUELA: A. D. 1895 (DECEMBER).

ENGLAND: A. D. 1895-1896 (November-January).


Discontent and revolutionary conspiracy of Uitlanders in
the Transvaal.
The Jameson Raid.

See (in this volume)


SOUTH AFRICA (THE TRANSVAAL): A. D. 1895 (NOVEMBER);
and A. D. 1895-1896.

ENGLAND: A. D. 1895-1896 (December-January).


The feeling in England and America over the
Venezuela boundary dispute.

See (in this volume)


UNITED STATES OF AMERICA:
A. D. 1895-1896 (DECEMBER-JANUARY).

ENGLAND: A. D. 1896.
Establishment of the Sierra Leone Protectorate.

See (in this volume)


SIERRA LEONE PROTECTORATE.

ENGLAND: A. D. 1896.
Report on Old-Age Pensions.

The question of the practicability and expediency of a


national system of pensions for old age, which had been
agitated in England for some years, and which a royal
Welcome to our website – the ideal destination for book lovers and
knowledge seekers. With a mission to inspire endlessly, we offer a
vast collection of books, ranging from classic literary works to
specialized publications, self-development books, and children's
literature. Each book is a new journey of discovery, expanding
knowledge and enriching the soul of the reade

Our website is not just a platform for buying books, but a bridge
connecting readers to the timeless values of culture and wisdom. With
an elegant, user-friendly interface and an intelligent search system,
we are committed to providing a quick and convenient shopping
experience. Additionally, our special promotions and home delivery
services ensure that you save time and fully enjoy the joy of reading.

Let us accompany you on the journey of exploring knowledge and


personal growth!

ebookmass.com

You might also like