HTML, CSS & JavaScript in easy steps
eBook - ePub

HTML, CSS & JavaScript in easy steps

  1. English
  2. ePUB (mobile friendly)
  3. Available on iOS & Android
eBook - ePub

HTML, CSS & JavaScript in easy steps

About this book

HTML, CSS & JavaScript in easy steps instructs the reader on each of the three coding languages that are used to create modern web pages; HyperText Markup Language (HTML) tags are used to control the structure of web page content, Cascading Style Sheets (CSS) rules are used to determine how web page content appears, and JavaScript functions are used to provide web page interactivity.

HTML, CSS & JavaScript in easy steps contains examples and screenshots that illustrate each feature of all three coding languages. You'll learn how to create web pages to display text, images, lists, tables, hyperlinks, forms, audio, and video. Each chapter builds your knowledge so by the end of the book you'll have gained a sound understanding of HTML markup, CSS rules and JavaScript functions.

HTML, CSS & JavaScript in easy steps has an easy-to-follow style that will appeal to anyone who wants to create great functional web pages. It will appeal to programmers who want to quickly add web page coding to their skills set, and to the student who is studying website design at school or college, and to those seeking a career in web development.

Frequently asked questions

Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription.
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
Perlego offers two plans: Essential and Complete
  • Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
  • Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Both plans are available with monthly, semester, or annual billing cycles.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Yes! You can use the Perlego app on both iOS or Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app.
Yes, you can access HTML, CSS & JavaScript in easy steps by Mike McGrath in PDF and/or ePUB format, as well as other popular books in Design & Web Design. We have over one million books available in our catalogue for you to explore.

Information

eBook ISBN
9781840789218
Topic
Design
Subtopic
Web Design
1
Get Started in HTML
image
This chapter is an introduction to the exciting world of HTML. It demonstrates how to create a valid HTML document and how to include style rules, script code, and linked resources.
Meet HTML
Understand Structure
Create Documents
Validate Documents
Bestow Titles
Supply Metadata
Describe Contents
Add Styles
Include Scripts
Link Resources
Summary
Meet HTML
Historically, the desire to have text printed in specific formats meant that original manuscripts were “marked up” with annotation to indicate to the book printer how the author would like sections of text laid out. This annotation had to be concise and needed to be easily understood both by the printer and the author. A series of commonly-recognized abbreviations therefore formed the basis of a standard markup language.
image
HyperText Markup Language (HTML) is a modern standard markup language that uses common abbreviations called “tags” to indicate to the web browser how the author would like to have sections of a web page laid out. It was first devised in 1989 by British physicist Tim Berners-Lee at CERN in Switzerland (the European organization for nuclear research) to share all computer-stored information between the CERN physicists. Berners-Lee created a text browser to transfer information over the internet using hypertext to provide point-and-click navigation. In May 1990 this system was named the World Wide Web and was enhanced in 1993 when college student Marc Andreessen added an image tag. Now that HTML could display both text and images, the World Wide Web quickly became hugely popular.
As various web browsers were developed, their makers began to add individual proprietary tags – effectively creating their own versions of HTML! The World Wide Web Consortium (W3C) standards organization recognized the danger that HTML could become fragmented, so they created a standard specification to which all web browsers should adhere. This successfully encouraged the browser makers to support the standard tags. The final W3C standard specification of HTML5 is now continued by the Web Hypertext Application Technology Working Group (WHATWG) as the “HTML Living Standard”.
The World Wide Web comprises a series of large-capacity computers, known as “web servers”, which are connected to the internet via telephone lines and satellites. The web servers each use the HyperText Transfer Protocol (HTTP) as a common communication standard to allow any computer connected to any web server to access files across the web.
HTML web pages are merely plain text files that have been saved with a “.htm” or “.html” file extension, such as index.html.
image
You can find the HTML Living Standard specification, and other related specifications, online at whatwg.org
In order to access an HTML file across the internet, its web address must be entered into the address field of the web browser. The web address is formally known as its “Uniform Resource Locator” (URL), and typically has three parts:
Protocol – any URL using the HTTP protocol begins by specifying the protocol as http:// or secure https://
Domain – the host name of the computer from which the file can be downloaded. For instance: www.example.com
Path – the file ...

Table of contents

  1. Cover
  2. Title
  3. Copyright
  4. Contents
  5. How to Use This Book
  6. 1 Get Started in HTML
  7. 2 Structure Web Pages
  8. 3 Manage Text Content
  9. 4 Write Lists and Tables
  10. 5 Incorporate Media Content
  11. 6 Create a Local Domain
  12. 7 Produce Input Forms
  13. 8 Get Started in CSS
  14. 9 Manage the Box Model
  15. 10 Manipulate Text Content
  16. 11 Organize Tables & Lists
  17. 12 Generate Effects
  18. 13 Control the Web Page
  19. 14 Design for Devices
  20. 15 Get Started in JavaScript
  21. 16 Perform Useful Operations
  22. 17 Manage the Script Flow
  23. 18 Use Script Objects
  24. 19 Control Strings & Numbers
  25. 20 Address the Window Object
  26. 21 Interact with the Document
  27. Back Cover