官术网_书友最值得收藏!

Conventions

In this book, you will find a number of styles of text that distinguish between different kinds of information. Here are some examples of these styles, and an explanation of their meaning.

Code words in text are shown as follows: "HTML5 also accepts a far slacker syntax to be considered "valid". For example, <sCRipt SrC=js/jquery-1.6.2.js></script> is just as valid as the prior example."

A block of code is set as follows:

<div class="header">
  <div class="navigation">
    <ul class="nav-list">
      <li><a href="#" title="Home">Home</a></li>
      <li><a href="#" title="About">About</a></li>
    </ul>
  </div> <!—end of navigation -->
</div> <!—end of header -->

When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:

#wrapper {
  margin-right: auto;
  margin-left: auto;
 width: 96%; /* Holding outermost DIV */
}

#header {
  margin-right: 10px;
  margin-left: 10px;
 width: 97.9166667%; /* 940 ÷ 960 */
}

New terms and important words are shown in bold. Words that you see on the screen, in menus or dialog boxes for example, appear in the text like this: "For example, the navigation menu doesn't alternate between red and black, the main THESE SHOULD HAVE WON button in the content area and the full info buttons from the sidebar are missing and the fonts are all a far cry from the ones shown in the graphic file".

Note

Warnings or important notes appear in a box like this.

Tip

Tips and tricks appear like this.

主站蜘蛛池模板: 丹阳市| 伽师县| 双牌县| 乐清市| 新郑市| 姚安县| 望都县| 满城县| 鄂尔多斯市| 浦北县| 巴青县| 囊谦县| 芜湖市| 枣阳市| 湘阴县| 兴文县| 长沙市| 孙吴县| 奎屯市| 景泰县| 会泽县| 上栗县| 西乌珠穆沁旗| 本溪市| 荃湾区| 满洲里市| 嫩江县| 丹棱县| 开江县| 阳曲县| 江门市| 无极县| 万载县| 措美县| 巨鹿县| 江都市| 西林县| 洱源县| 库车县| 阳原县| 怀宁县|