- 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>
推薦閱讀
- Go語言高效編程:原理、可觀測性與優(yōu)化
- PostgreSQL Cookbook
- 低代碼平臺開發(fā)實(shí)踐:基于React
- 智能手機(jī)APP UI設(shè)計(jì)與應(yīng)用任務(wù)教程
- Java EE企業(yè)級應(yīng)用開發(fā)教程(Spring+Spring MVC+MyBatis)
- Learning Nessus for Penetration Testing
- C#程序設(shè)計(jì)基礎(chǔ)入門教程
- Mastering Unreal Engine 4.X
- Apache Solr for Indexing Data
- Building Web and Mobile ArcGIS Server Applications with JavaScript(Second Edition)
- Getting Started with RethinkDB
- Spring Boot 2+Thymeleaf企業(yè)應(yīng)用實(shí)戰(zhàn)
- 開源網(wǎng)絡(luò)地圖可視化:基于Leaflet的在線地圖開發(fā)
- Learn C Programming
- Learning RSLogix 5000 Programming