- Hands-On Game Development with WebAssembly
- Rick Battagline
- 133字
- 2021-06-24 13:41:04
Minor tweaks to the head tag
Inside of our head tag, we will want to change title, and because we renamed canvas.css to webgl.css, we will need to point our link tag to the new stylesheet name. Here are the only two tags that must change at the beginning of the HTML:
<title>WebGL Shell</title>
<link href="webgl.css" rel="stylesheet" type="text/css">
Later in the HTML, we will remove the img tag where the src is set to "spaceship.png". It is not strictly necessary to do this. In the canvas version, we were using this tag to render an image to the canvas. In this WebGL version, we will load the image dynamically, so it is not necessary to keep it around, but if you forget to remove it, having it there will not harm the app in any way.
推薦閱讀
- BeagleBone By Example
- Intel FPGA/CPLD設計(高級篇)
- 計算機組裝與維護(第3版)
- 電腦高級維修及故障排除實戰
- 筆記本電腦維修300問
- Creating Flat Design Websites
- 筆記本電腦應用技巧
- LPC1100系列處理器原理及應用
- Managing Data and Media in Microsoft Silverlight 4:A mashup of chapters from Packt's bestselling Silverlight books
- Hands-On Deep Learning for Images with TensorFlow
- Arduino項目開發:智能生活
- 嵌入式系統設計大學教程(第2版)
- 詳解FPGA:人工智能時代的驅動引擎
- 零基礎輕松學修電腦主板
- Hands-On One-shot Learning with Python