<divid="source-html"><h1><center>Artificial Intelligence</center></h1><h2>Overview</h2><p>
Artificial Intelligence(AI) is an emerging technology
demonstrating machine intelligence. The sub studies like <u><i>Neural
Networks</i>, <i>Robatics</i> or <i>Machine Learning</i></u> are
the parts of AI. This technology is expected to be a prime part
of the real world in all levels.
</p></div><divclass="content-footer"><buttonid="btn-export"onclick="exportHTML();">Export to
word doc</button></div>
JavaScript部分
<script>function exportHTML(){var header ="<html xmlns:o='urn:schemas-microsoft-com:office:office' "+"xmlns:w='urn:schemas-microsoft-com:office:word' "+"xmlns='http://www.w3.org/TR/REC-html40'>"+"<head><meta charset='utf-8'><title>Export HTML to Word Document with JavaScript</title></head><body>";var footer ="</body></html>";var sourceHTML = header+document.getElementById("source-html").innerHTML+footer;var source ='data:application/vnd.ms-word;charset=utf-8,'+ encodeURIComponent(sourceHTML);var fileDownload = document.createElement("a");
document.body.appendChild(fileDownload);
fileDownload.href = source;
fileDownload.download ='document.doc';
fileDownload.click();
document.body.removeChild(fileDownload);}</script>
ROCK ON = 得到石頭1000單位
LUMBERJACK = 得到木材1000單位
ROBIN HOOD = 得到黃金1000單位
CHEESE STEAK JIMMY'S = 得到食物1000單位
MARCO = 顯示所有地圖
POLO = 地圖迷霧效果關閉
AEGIS = 建造、生產和升級即時完成
I LOVE THE MONKEY HEAD = 得到超快速工人
HOW DO YOU TURN THIS ON = 得到眼鏡蛇車
TO SMITHEREENS = 得到自爆破壞者
NATURAL WONDERS = 可控制其他生物
BLACK DEATH = 消滅全部敵人
TORPEDO# = 殺死編號 # 的對手
WIMPYWIMPYWIMPY = 自殺
I R WINNER = 任務勝利
RESIGN = 任務失敗
WOOF WOOF = 得到飛行狗
FURIOUS THE MONKEY BOY = 得到猴子
TO SMITHEREENS = 得到自爆兵Saboteur