springer publishing guide to html javascript and php, for scientists and engineers (2011)

430 684 0
springer publishing guide to html javascript and php, for scientists and engineers (2011)

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

[...]... so tightly bound to HTML documents, you must learn JavaScript along with at least a subset of HTML Unfortunately for anyone trying to learn and use HTML and JavaScript, each of the several available browsers is free to implement and support JavaScript in its own way A browser doesn’t even have to support JavaScript at all, although it is hard to imagine why it wouldn’t Browsers can and do incorporate... complete platform independence is achieved only approximately in practice A basic HTML document requires a minimum of four sets of elements: … < /html> … … … D.R Brooks, Guide to HTML, JavaScript and PHP: For Scientists and Engineers, DOI 10.1007/978-0-85729-449-4_1, © Springer- Verlag London Limited 2011 1 2 1 1  Introducing HTML and JavaScript These... editing, and viewing As noted previously, some of them are intended for large and complicated projects and may be “overkill” for use with this book For several years, for creating this book and in my own day -to- day work, I have used Visicom Media’s AceHTML Freeware V.5 (see www visicommedia.com) This software provides an HTML/ JavaScript editor with some automatic color-based text formatting that makes HTML. .. Introducing HTML and JavaScript 1 Abstract  Chapter 1 provides a very brief introduction to using HTML and JavaScript for creating simple Web pages It presents examples of how JavaScript interfaces with an HTML document to display some printed output in a Web browser window The chapter introduces the concept of an HTML document as an object, with certain methods and properties accessible through JavaScript to. .. tags themselves and a browser that doesn’t support JavaScript will ignore everything inside the comment tags HTML syntax is case-insensitive, which means that is equivalent to or even Some HTML document authors favor uppercase spellings for tags because they stand out from the text content However, XHTML (extended HTML) , the apparent successor to HTML, requires tags to be in lowercase... Brooks, Guide to HTML, JavaScript and PHP: For Scientists and Engineers, DOI 10.1007/978-0-85729-449-4_2, © Springer- Verlag London Limited 2011 19 20 2 2  HTML Document Basics Elements exist within a document Elements can have attributes and attributes (usually) have values Note that some of the elements are nested inside others For example, all other elements are nested inside the html element, and the... larger and more complex than they need to be for basic HTML documents So, these applications are better suited for Web development projects that involve a lot of graphics and the other “bells and whistles” that make commercial Web pages attractive Creating an HTML/ JavaScript document that works properly inevitably involves switching back and forth between a text editor and a browser—making changes and. .. approach to generating the output shown for Document 1.4a is to use JavaScript only as required to access desired document properties (and perhaps display some related text), and use HTML for everything else Document 1.4b is a modified version of Document 1.4a which does the content formatting with HTML tags inside the document There is no need to show the output, as it is identical to that for Document... applications arose from the need to check values entered by users into the fields of HTML forms that can be sent back to the originator (Forms are discussed in a later chapter.) JavaScript can be used to compare input values against an expected range or set of values and to generate appropriate messages and other actions based on those comparisons JavaScript has evolved into a complete programming language... documents for your own use 1.1.5 Where Can You Find More Information About HTML and JavaScript? By now, it should be clear that this book is in no way intended as a reference source for either HTML or JavaScript Any attempt to provide complete coverage for either language would thoroughly confound the purpose of the book and is far beyond the author’s capabilities! Therefore, you must look elsewhere for . h0" alt="" Guide to HTML, JavaScript and PHP David R. Brooks Guide to HTML, JavaScript and PHP For Scientists and Engineers David R. Brooks Institute for Earth Science Research and Education 2686. languages. Because JavaScript is so tightly bound to HTML documents, you must learn JavaScript along with at least a subset of HTML. Unfortunately for anyone trying to learn and use HTML and JavaScript, . reasonable to use them to learn basic programming skills, and to create useful and robust science and engineering applications. Although this book is intended for scientists and engineers, ”

Ngày đăng: 28/04/2014, 17:09

Từ khóa liên quan

Mục lục

  • Cover

  • Guide to HTML, JavaScript and PHP

  • ISBN 9780857294487

  • Preface

  • Contents

  • 1: Introducing HTML and JavaScript

    • 1.1 Introducing the Tools

      • 1.1.1 What Is an HTML Document?

      • 1.1.2 What Is JavaScript?

      • 1.1.3 How Do You Create HTML/JavaScript Documents?

      • 1.1.4 Some Typographic Conventions Used in This Book

      • 1.1.5 Where Can You Find More Information About HTML and JavaScript?

      • 1.2 Your First HTML/JavaScript Documents

      • 1.3 Accessing HTML Documents on the Web

      • 1.4 Another Example

      • 2: HTML Document Basics

        • 2.1 Documents, Elements, Attributes, and Values

          • 2.1.1 Essential Elements

          • 2.1.2 Some Other Important Elements

          • 2.2 HTML Syntax and Style

          • 2.3 Using the script Element

          • 2.4 Creating and Organizing a Web Site

          • 2.5 Selecting and Using Colors

          • 2.6 Using Cascading Style Sheets

Tài liệu cùng người dùng

Tài liệu liên quan