- 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.
- Network Automation Cookbook
- Access 2010數據庫基礎與應用項目式教程(第3版)
- Java 11 Cookbook
- Python時間序列預測
- Learning Laravel's Eloquent
- Kubernetes進階實戰
- Simulation for Data Science with R
- Clojure High Performance Programming(Second Edition)
- Offer來了:Java面試核心知識點精講(框架篇)
- HTML5 Canvas核心技術:圖形、動畫與游戲開發
- Azure for Architects
- .NET應用架構設計:原則、模式與實踐
- 機器學習開發者指南
- AVR單片機C語言應用100例
- 區塊鏈技術指南