- Practical Web Development
- Paul Wellens
- 117字
- 2021-07-16 13:14:07
Classic document elements
This section lists a few HTML elements that will look familiar to users of word processors or desktop publishing programs.
<h1>, <h2>, <h3>, … <h6> – headings
These are headings. The smaller the number, the larger the font size the browser will render the heading in.
<p> – paragraph
This is the paragraph tag. Browsers automatically add some space (margin) before and after each <p>
element. The margins can be modified with CSS (with the margin properties).
<span> – span
The span
tag by itself has no visual effect but it is extremely useful when you need to style just a portion of text.
You can use it like this:
<h3>Example</h3> <p>This is a paragraph with one <span class="blue">blue</span>word</span>
推薦閱讀
- C語言程序設計教程
- Android Application Development Cookbook(Second Edition)
- C語言實驗指導及習題解析
- PhoneGap:Beginner's Guide(Third Edition)
- ExtJS高級程序設計
- Terraform:多云、混合云環境下實現基礎設施即代碼(第2版)
- Learning PHP 7
- 計算機應用基礎案例教程
- OpenGL Data Visualization Cookbook
- 零基礎學Java第2版
- Python應用開發技術
- 高質量程序設計指南:C++/C語言
- 前端架構設計
- Elasticsearch實戰(第2版)
- C++ Windows Programming