没有合适的资源?快使用搜索试试~ 我知道了~
Learn Enough HTML to Be Dangerous (Web Basics, Book 1)
5星 · 超过95%的资源 需积分: 10 29 下载量 94 浏览量
2016-09-29
19:49:11
上传
评论
收藏 11.42MB PDF 举报
温馨提示
试读
135页
Learn Enough HTML to Be Dangerous (Web Basics, Book 1) by Michael Hartl, Lee Donahoe English | ASIN: B01KG84X44 | 2016 | 135 pages Learn Enough™ HTML to Be Dangerous is an introduction to HyperText Markup Language, the language of the World Wide Web. You'll learn the most important HTML tags by building a simple but real website, which you'll deploy to the live Web in the very first section!
资源推荐
资源详情
资源评论
Learn Enough HTML to Be Dangerous
Michael Hartl and Lee Donahoe
Contents
1 Basic HTML 5
1.1 HTML tags . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
1.1.1 Exercises . . . . . . . . . . . . . . . . . . . . . . . . 12
1.2 Starting the project . . . . . . . . . . . . . . . . . . . . . . . 13
1.2.1 Exercises . . . . . . . . . . . . . . . . . . . . . . . . 19
1.3 The first tag . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
1.3.1 Exercises . . . . . . . . . . . . . . . . . . . . . . . . 27
1.4 An HTML skeleton . . . . . . . . . . . . . . . . . . . . . . . 27
1.4.1 Exercises . . . . . . . . . . . . . . . . . . . . . . . . 39
2 Filling in the index page 42
2.1 Headings . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
2.1.1 Exercises . . . . . . . . . . . . . . . . . . . . . . . . 45
2.2 Text formatting . . . . . . . . . . . . . . . . . . . . . . . . . 46
2.2.1 Emphasized text . . . . . . . . . . . . . . . . . . . . 47
2.2.2 Strong text . . . . . . . . . . . . . . . . . . . . . . . 49
2.2.3 Exercises . . . . . . . . . . . . . . . . . . . . . . . . 51
2.3 Links . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
2.3.1 Exercises . . . . . . . . . . . . . . . . . . . . . . . . 57
2
2.4 Adding images . . . . . . . . . . . . . . . . . . . . . . . . . 60
2.4.1 Hotlinking . . . . . . . . . . . . . . . . . . . . . . . 65
2.4.2 Exercises . . . . . . . . . . . . . . . . . . . . . . . . 69
3 More pages, more tags 71
3.1 An HTML page about HTML . . . . . . . . . . . . . . . . . 71
3.1.1 Exercises . . . . . . . . . . . . . . . . . . . . . . . . 74
3.2 Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
3.2.1 Block elements . . . . . . . . . . . . . . . . . . . . . 76
3.2.2 Inline elements . . . . . . . . . . . . . . . . . . . . . 83
3.2.3 Exercises . . . . . . . . . . . . . . . . . . . . . . . . 84
3.3 Divs and spans . . . . . . . . . . . . . . . . . . . . . . . . . 86
3.3.1 Exercises . . . . . . . . . . . . . . . . . . . . . . . . 92
3.4 Lists . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92
3.4.1 Exercises . . . . . . . . . . . . . . . . . . . . . . . . 95
3.5 A navigation menu . . . . . . . . . . . . . . . . . . . . . . . 96
3.5.1 Exercises . . . . . . . . . . . . . . . . . . . . . . . . 100
4 Inline styling 101
4.1 Text styling . . . . . . . . . . . . . . . . . . . . . . . . . . . 102
4.1.1 Exercises . . . . . . . . . . . . . . . . . . . . . . . . 110
4.2 Floats . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111
4.2.1 Exercises . . . . . . . . . . . . . . . . . . . . . . . . 114
4.3 Applying a margin . . . . . . . . . . . . . . . . . . . . . . . 114
4.3.1 Exercises . . . . . . . . . . . . . . . . . . . . . . . . 118
4.4 More margin tricks . . . . . . . . . . . . . . . . . . . . . . . 119
4.4.1 Exercises . . . . . . . . . . . . . . . . . . . . . . . . 122
4.5 Box styling . . . . . . . . . . . . . . . . . . . . . . . . . . . 123
4.5.1 Exercises . . . . . . . . . . . . . . . . . . . . . . . . 126
4.6 Navigation styling . . . . . . . . . . . . . . . . . . . . . . . . 127
4.6.1 Exercises . . . . . . . . . . . . . . . . . . . . . . . . 130
5 Conclusion 132
3
HyperText Markup Language, or HTML, is the universal language of the World
Wide Web. Every time you visit a website, the site’s web server sends HTML
to your browser, which then renders it as the web page you see on your screen.
Because this process is universal, anyone who works with web technologies—
which these days means virtually all developers, designers, and even many
managers—can benefit from knowing the basics of what HTML is and how
it works. Learn Enough HTML to Be Dangerous is designed to give you this
foundation in basic HTML.
Appropriately enough, there are lots of HTML tutorials on the Web, but
most of them use toy examples, focusing on HTML syntax in isolation, without
showing how HTML is written and deployed in real life. In contrast, Learn
Enough HTML to Be Dangerous not only shows you how to make real HTML
pages, it shows you how to deploy an actual site to the live Web. If you have
previously attempted or completed an HTML tutorial, it’s likely that Learn
Enough HTML to Be Dangerous will help you “put everything together” in a
way you haven’t seen before, including an emphasis on expanding your skillset
with technical sophistication (Box 1).
Box 1. Technical sophistication
If tech is the new literacy, technical sophistication is like being able to read and
write. This includes being able to figure things out on your own (like sounding out
words while reading) and look things up when you need them (like consulting a
dictionary or thesaurus while writing).
On the Web, the alphabet is HTML.
In Learn Enough HTML to Be Dangerous, we’ll constantly be on the lookout
for chances to improve our technical sophistication. We’ll deploy our website
immediately to production (Section 1.2), getting over any bumps along the way.
We’ll push ourselves to read HTML we don’t quite understand, content to get the
gist at first before deepening our mastery later. And we’ll put all our tools to use,
combining the command line, text editor, and version control to learn how to make
HTML websites the Right Way™—professional-grade from the start.
4
Because of our pragmatic approach, the tools we’ll be using use are all
professional-grade (Figure 1). They are the same tools covered in the Learn
Enough Developer Fundamentals sequence, which you should follow now if
you’re not already familiar with them. The individual tutorials are available for
free o n the Web:
1. Learn Enough Command Line to Be Dangerous on the Unix command
line
2. Learn Enough Text Editor to Be Dangerous on text editors
3. Learn Enough Git to Be Dangerous on version control with Git
To get even more out of the sequence, you can join our subscription service, the
Learn Enough Society, which includes streaming videos and special enhanced
versions of the online tutorials, among other benefits.
Figure 1: The tools of the trade (kitten not included).
5
剩余134页未读,继续阅读
资源评论
- wildecsdn2016-10-03太好了,多谢楼主分享。
DWcsdnNET
- 粉丝: 415
- 资源: 652
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- week6.1.7z
- 移动机器人自主路径规划之RRTStar算法MATLAB实现代码
- 基于Python+OpenCV+FFmpeg实现自动识别电影剪辑+分析剪辑主题颜色+源码+文档(毕业设计&课程设计&项目开发)
- 基于python的二手商品交易平台 python+django开发的供需平台
- 微信小程序源码 侧滑布局小程序 (源码下载 +内附使用说明)
- heima-JUC-资料
- coreg_FSL.sh
- ROS+YOLOV8+SLAM智能小车导航实战(四、激光雷达+SLAM建图)
- 什么是决策树,有哪些适用场景?
- 基于python开发的口红色号识别程序+源码+开发文档+源码解析(毕业设计&课程设计&项目开发)
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功