• Complain

Brooks - Programming in HTML and PHP

Here you can read online Brooks - Programming in HTML and PHP full text of the book (entire story) in english for free. Download pdf and epub, get meaning, cover and reviews about this ebook. City: Cham, publisher: Springer International Publishing, genre: Computer. Description of the work, (preface) as well as reviews are available. Best literature library LitArk.com created for fans of good reading and offers a wide selection of genres:

Romance novel Science fiction Adventure Detective Science History Home and family Prose Art Politics Computer Non-fiction Religion Business Children Humor

Choose a favorite category and find really read worthwhile books. Enjoy immersion in the world of imagination, feel the emotions of the characters or learn something new for yourself, make an fascinating discovery.

Brooks Programming in HTML and PHP
  • Book:
    Programming in HTML and PHP
  • Author:
  • Publisher:
    Springer International Publishing
  • Genre:
  • City:
    Cham
  • Rating:
    5 / 5
  • Favourites:
    Add to favourites
  • Your mark:
    • 100
    • 1
    • 2
    • 3
    • 4
    • 5

Programming in HTML and PHP: summary, description and annotation

We offer to read an annotation, description, summary or preface (depends on what the author of the book "Programming in HTML and PHP" wrote himself). If you haven't found the necessary information about the book — write in the comments, we will try to find it.

Introducing HTML and JavaScript -- HTML document basics -- HTML tables, forms, lists, and frames -- Fundamentals of the JavaScript language -- Using arrays in HTML/JavaScript -- JavaScript functions -- Creating a server-side environment with PHP -- Working with PHP -- PHP arrays -- Summary of selected PHP language elements -- Using PHP from a command line -- Using graphics with PHP -- List of document examples -- Displaying special characters in an HTML document -- ASCII character codes -- Strategies for solving computational problems.;HTML, JavaScript, and PHP are Web-based programming languages that can be used to solve computational problems in an online environment. This easy-to-read, informative guide/reference will enable readers to quickly develop a working knowledge of HTML, JavaScript and PHP - a valuable skill for any scientist or engineer. Updating and expanding upon the authors previous Springer titles, An Introduction to HTML and JavaScript and An Introduction to PHP, the text emphasizes a hands-on approach to learning and makes extensive use of examples throughout the book. A detailed science, engineering, or mathematics background is not required to understand the material, making the book ideally suitable for self-study or an introductory course in programming.--Publishers description.

Brooks: author's other books


Who wrote Programming in HTML and PHP? Find out the surname, the name of the author of the book and a list of all author's works by series.

Programming in HTML and PHP — read online for free the complete book (whole text) full work

Below is the text of the book, divided by pages. System saving the place of the last page read, allows you to conveniently read the book "Programming in HTML and PHP" online for free, without having to search again every time where you left off. Put a bookmark, and you can go to the page where you finished reading at any time.

Light

Font size:

Reset

Interval:

Bookmark:

Make
Springer International Publishing AG 2017
David R. Brooks Programming in HTML and PHP Undergraduate Topics in Computer Science
1. Introducing HTML
David R. Brooks 1
(1)
Institute for Earth Science Research and Education, Eagleville, PA, USA
David R. Brooks
Email:
This chapter provides an introduction to using HTML to create simple Web pages suitable for interfacing with PHP applications. Several examples show how to modify the appearance of a document by using HTML tags and their attributes.
1.1 Introducing the Tools
1.1.1 What Is an HTML Document?
HTML is an acronym for H yper T ext M arkup L anguage. HTML documents, the foundation of all content appearing on the World Wide Web (WWW), consist of two essential parts: information content and a set of instructions that tells your computer how to display that content. These instructionsthe markup, in editorial jargoncomprise the HTML language. It is not a programming language in the traditional sense, but rather a set of instructions about how to display content in a Web browser. Ideally, online content should look the same regardless of the browser being used or the operating system on which the browser resides. This goal of complete platform independence is achieved only approximately in practice.
Every HTML document should contain a minimum of four elements:
These elements define the essential parts of an HTML document : the document itself, a heading section, a title section, and a body. All four elements should be included even if they dont enclose any content. Every HTML element is defined by one or two tags usually a start tag and an end tag. Tags are always enclosed in angle brackets: < >. End tags start with a slash (/). A few HTML elements have only one tag.
The four basic elements are organized as follows within an HTML document:
The html tag encloses all other tags and defines the boundaries of the HTML document. We will return to the other tags later. The indenting used to set off pairs of tags is optional, but it makes documents easier to create, read, and edit. This style is part of good programming practice in all languages.
HTML documents are usually used as to distribute information for access on the Web. However, for the purposes of this book, HTML documents will be used along with the PHP programming language to create an environment for solving a wide range of computing problems.
Good programming technique often involves separating the input/output ( I/O) interface from the underlying calculations that do the work of a program. The HTML/PHP programming environment provides a conceptually elegant means of implementing this strategy. An HTML document provides the I/O interface and PHP handles the calculations. An advantage of HTML is that it provides a wealth of interface possibilities that far surpass those of older text-based languages.
1.1.2 How Do You Create HTML Documents?
Because HTML documents are just text documents, they can be created with any text editor. Even Windows very basic Notepad application is a workable choice for simple tasks. Once HTML files have been created, you can open them in your computers browser, hopefully without regard to which browser you are using. As long as you give such documents an .htm or .html file name extension, they should automatically open in your browser when you double-click on the file name. Although Windows documents are no longer restricted to three-letter extensions, a convention dating back to the pre-Windows days of MS-DOS operating systems, the three-letter .htm extension is often used on Windows systems. The four-letter . html extension is commonly used on UNIX systems. However, either extension is perfectly acceptable.
There is one other consequence of using Windows computers for creating all the code examples in this text: Windows file names are case-insensitive, while on UNIX systems, all spellings, including file names and commands, are case-sensitive. In Windows, you can name a document newDocument.htm . Later, you can spell it newdocument.htm , NEWDOCUMENT.HTM , or any other combination of uppercase and lowercase letters and it wont matter. On a UNIX system, that file will be recognized only with the original spelling.
Although you can create text (and, therefore, HTML) documents with a full-featured word processor such as Microsoft Word, this is not recommended. When you save a word processor document it no longer contains just the text you have typed, but also all the layout and formatting information that goes with that document. You can choose to save a document as just text with an .htm extension, but it is easy to forget to do this.
Microsoft Word and other modern word-processing applications can also format any document as an HTML document. However, this is also not recommended. These converted documents may include a huge quantity of extraneous information and HTML instructions that make the resulting file much larger and more complex than it needs to be. (To see this for yourself, save a Word document as an HTML document and then look at the result in a text editor such as Notepad!)
RTF ( rich text format) documents are also unacceptable, as they still retain some formatting information that is inappropriate for an HTML document. Any document that contains smart quotes rather than " straight quotes " can also cause problems, because smart quotes may not be displayed properly by browsers. (This is much less of a problem on current browsers than it used to be.)
There are commercial Web development tools that allow you to create Web pages without actually knowing anything about HTML. These applications are not suitable for use with this book. The obvious reason is that the primary purpose of the book is to show you how to write your own HTML documents to be used as an interface to a PHP file. Also, these applications may create HTML files that are much larger and more complex than they need to be. Such applications are better suited for Web development projects that involve a lot of the other bells and whistles that make commercial Web pages attractive.
Creating an HTML document that does what you need it do inevitably involves switching back and forth between a text editor and a browsermaking changes and observing the effects of those changes. A good editor should allow you to move back and forth quickly and easily between the source document and its display in a browser when you make changes. It is certainly possible, but not particularly convenient, to do this with a simple text editor such as Notepad.
There are many commercial software tools whose purpose is to facilitate writing and editing HTML documents by integrating document creation, editing, and viewing. As noted above, some of them are intended for large and complicated projects and may be overkill for use with this book. For many years, I have used Visicom Medias freeware AceHTML . This software is no longer available, but there are other freeware alternatives which provide automatic color-based text formatting, coding tools, and an integrated browser that makes it easy to create and edit HTML and PHP documents.
Although it shouldnt make any difference which browser you use, it is worth noting that all the HTML documents displayed in this text come from either AceHTMLs internal browser or Mozillas Firefox, which is the default browser on the authors Windows computers.
1.1.3 Some Typographic Conventions Used in This Book
HTML tags and other code are printed in a monospaced (Courier) font in document examples and whenever they are referred to in the text. Thus, document is interpreted as a reference to an HTML object, as opposed to its general use as a term identifying a body of text. Within descriptions of HTML and PHP document features, user-supplied text is denoted by {italicized text in braces (curly brackets)} ; the curly brackets are usually not meant to be included in the user-supplied text.
Next page
Light

Font size:

Reset

Interval:

Bookmark:

Make

Similar books «Programming in HTML and PHP»

Look at similar books to Programming in HTML and PHP. We have selected literature similar in name and meaning in the hope of providing readers with more options to find new, interesting, not yet read works.


Reviews about «Programming in HTML and PHP»

Discussion, reviews of the book Programming in HTML and PHP and just readers' own opinions. Leave your comments, write what you think about the work, its meaning or the main characters. Specify what exactly you liked and what you didn't like, and why you think so.