- Practical Web Development
- Paul Wellens
- 164字
- 2021-07-16 13:14:08
<p>, the "uebertag"
Finally, there is the <p>
, the tag of all tags. When you run into a problem trying to fit things on the page where you want them, you will most likely solve it by inserting a number of <p>
elements. Think of a <p>
as a rectangular section of your page. You can even organize your page as a grid. The framework we will be using in the second half of the book is exactly that. It uses a 12-column grid.
Look at this very simple, yet not uncommon example:
<body> <p id="header"></p> <p id="container"> <p id="left"></p><p id="middle"></p><p id="right"></p> </p> <p id="footer"></p> </body>
Just make this the body of a new HTML page, minigrid.html
, and look at it. You will see ... nothing, because none of the <p>
elements have any content, in which case they do not have any size. <p>
elements are so-called block elements. We will cover this in great detail in the next chapter. Before we do that, we are going to conclude this chapter on HTML with a very important topic: HTML entities.
- Mastering NetBeans
- FreeSWITCH 1.8
- Manga Studio Ex 5 Cookbook
- Learning Data Mining with Python
- 編寫高質量代碼:改善Python程序的91個建議
- RTC程序設計:實時音視頻權威指南
- Eclipse Plug-in Development:Beginner's Guide(Second Edition)
- 用Python實現深度學習框架
- C#程序設計
- C語言程序設計學習指導與習題解答
- PhoneGap:Beginner's Guide(Third Edition)
- App Inventor 2 Essentials
- OpenCV Android Programming By Example
- Python預測分析與機器學習
- Java服務端研發知識圖譜