Aims:

To build an economical, energy- saving and easy-to-operating greenhouse control system。 

Method:

HTML, CSS and JavaScript language

Socket。io

Hardware requirements

Arduino Mega 2560

Intel Galileo Gen 1

Telegesis ETRX357 ZigBee

Software requirements

Arduino IDE

PuTTY

WinSCP

Node。js

Telegesis Terminal

Notepad++

Chapter I: BACKGROUND

1。 Create a Web Page

The three main technologies used to create web pages (HTML, CSS and JavaScript) each do different special jobs。[1]

HTML should be used only for structuring content。

Cascading Style Sheets should be used for applying all visual styles。

JavaScript should be used for (almost) all interactive functionality, and should always be referenced in separate files, never written into HTML。

Figure 1: the relationship between HTML, CCS and JavaScript

1。1HTML

HTML Overview

HTML stands for Hypertext Markup Language, and it is the most widely used language to write Web Pages。 HTML is a format that tells a computer how to display a web page。 The documents themselves are plain text files with special "tags" or codes that a web browser uses to interpret and display information on the computer screen。 [2]

Hypertext refers to the way in which Web pages (HTML documents) are linked together。 Thus, the link available on a webpage is called Hypertext。

HTML stands for Hyper Text Markup Language which means HTML is simply "mark-up" a text document with tags that tell a Web browser how to structure it to display。

An HTML file is a text file containing small markup tags

The markup tags tell the Web browser how to display the page

An HTML file must have an htm or html file extension文献综述

Originally, HTML was developed with the intent of defining the structure of documents like headings, paragraphs, lists, and so forth to facilitate the sharing of scientific information between researchers。

Now, HTML is being widely used to format web pages with the help of different tags available in HTML language。

HTML Basic Tags

HTML is a markup language and makes use of various tags to format the content。 These tags are enclosed within angle braces <Tag Name>。 Except for few tags, most of the tags have their corresponding closing tags。 For example, <html> has its closing tag</html> and <body> tag has its closing tag </body> tag etc。

Above example of HTML document uses the following tags:

Tag Description

<!DOCTYPE。。。> This tag defines the document type and HTML version。

<html> This tag encloses the complete HTML document and mainly comprises of document header which is represented by <head>。。。</head> and document body which is represented by <body>。。。</body> tags。

<head> This tag represents the document's header which can keep other HTML tags like <title>, <link> etc。

<title> The <title> tag  is  used  inside  the  <head>  tag  to  mention  the document title。

<body> This tag represents the document's body which keeps other HTML tags like <h1>, <p>, <p> etc。

<h1> This tag represents the heading。

<p>

上一篇:HEVC高效视频编码中的编码单元快速划分算法研究
下一篇:Asp.Net网站信息智能抓取与分析

IEEE802.15.4网络自适应策略研究

MATLAB基于流形学习与神经网络的预测建模

社交网络个性化推荐方法对比研究

jsp+mysql网络招标评审系统设计+源代码

基于安卓的真实无线立体声TWS实现

基于生物启发神经网络的AUV三维路径规划

SOM神经网络多机器人任务分配算法研究

浅论职工思想政治工作茬...

AES算法GPU协处理下分组加...

基于Joomla平台的计算机学院网站设计与开发

压疮高危人群的标准化中...

酵母菌发酵生产天然香料...

浅谈高校行政管理人员的...

上海居民的社会参与研究

从政策角度谈黑龙江對俄...

STC89C52单片机NRF24L01的无线病房呼叫系统设计

提高教育质量,构建大學生...