« Home « Chủ đề thủ thuật htlm

Chủ đề : thủ thuật htlm


Có 39+ tài liệu thuộc chủ đề "thủ thuật htlm"

HTML cơ bản - p 16

tailieu.vn

Therefore, a font size of 18 points is equivalent to 1.5 picas, or .25 inches. Like a percentage value, they specify sizes relative to the element’s computed size rather than an absolute number of units. However, in CSS, one em is equivalent to 100 percent of the current font size. #main { font-size: medium. #main p.first { font-size: 1em. #main...

HTML cơ bản - p 17

tailieu.vn

In a manner similar to the font property, the various background proper- ties can be combined into one rule using the background property. The important CSS properties that affect the appearance of text include text- align , text-decoration , text-indent , text-transform , line-height , letter- spacing , word-spacing , white-space , and vertical-align . The text-align property controls the...

HTML cơ bản - p 18

tailieu.vn

For elements without a border, this space is composed of margin and padding on each of the element’s four sides. For elements with a border, the margin is the amount of space on the outside of the borders, and the pad- ding is the amount of space on the inside of the border. It will not cause the content to...

HTML cơ bản - p 19

tailieu.vn

<li style="list-style-type: decimal;"></li>. <li style="list-style-type: decimal-leading-zero;"></li>. <li style="list-style-type: lower-roman;"></li>. <li style="list-style-type: upper-roman;"></li>. <li style="list-style-type: lower-alpha;"></li>. <li style="list-style-type: upper-alpha;"></li>. <li style="list-style-type: lower-greek;"></li>. <li style="list-style-type: armenian;"></li>. Figure 3.17: An ordered list showing eight different style types. The list-style-type property sets the type of list as well as the marker used. An ordered list element behaves just like an unordered list element if...

HTML cơ bản - p 20

tailieu.vn

</a>. </p>. Figure 3.22 shows how this code is displayed in two browser windows. In the window on the right, the mouse is on the link, and the mouse button is held down, causing the first paragraph to disappear.. Figure 3.22: Changing the display property of a sibling element using the :active pseudo-class. Changing an element’s display property from block...

HTML cơ bản - p 21

tailieu.vn

Figure 4.5: The Element Inspector in Google Chrome. As shown in Figure 4.5, the Element Inspector has many powerful features, including the graphic display of an element’s box properties. It provides a nicely formatted listing of the HTML source code and the CSS associated with each document element. Blogging can be experienced in two ways. These services include Word- Press.com,...

html cơ bản - p 22

tailieu.vn

Figure 4.13: Editing a document in Google Docs’ word processor. Figure 4.14 shows the HTML editing window into which the HTML code from Example 2.7 in Chapter 2 has been pasted.. Figure 4.14: The HTML editing mode in Google Docs’ word processor. Figure 4.15 shows the CSS editing window with the CSS statements from the style element in the head...

HTML cơ bản - p 23

tailieu.vn

Constant Contact is one of the more popular email marketing services. A Constant Contact customer creates and maintains a database of email recipi- ents with the service and composes formatted emails using Constant Contact’s web-based editor and online templates. Constant Contact charges a monthly fee for its service based on the number of recipient email addresses.. Constant Contact’s approach is...

HTML cơ bản - p 24

tailieu.vn

It is a burden of trust. PayPal, which is owned by the online auction firm eBay, is one of the easiest systems to set up and is an initial choice for many online business start-ups. The payment systems a website uses are one of the factors search engines use to rank websites. Would you shop at a store if you...

HTML cơ bản - p 25

tailieu.vn

Because mod- ern HTML editors and development systems keep track of a website’s files, you usually have to type in the name only the first time. This will make the robots happier, as well as any programmers who will work on the site in the future. This means that a URL such as http://example.org/index.htm will correctly link to the file...

HTML cơ bản - p 26

tailieu.vn

ptg example 5.4: using jQuery to toggle a hidden menu. <title>Example 5.4</title>. <script src="http://code.jquery.com/jquery-1.4.2.min.js"></script>. <style type="text/css">. <div id="state-choice">. <h4 onclick="$('#states').toggle('slow');">Choose your state</h4>. <div id="states">. <a href="award.html">Excited</a>. <a href="help.html">Confused</a>. <a href="restart.html">Disappointed</a>. <a href="loser.html">Angry</a>. ptg <p>To help us serve you better. </p>. The key to making it work is in the jQuery expression assigned to the onclick attribute of the h4 element:....

HTML cơ bản - p 27

tailieu.vn

Setting the position property to “absolute” frees the three divisions from the content flow, allowing them to find their new common location, with respect to the tabbed section container. A width is given for the division ele- ments as a percentage of the “tabbed” section’s width. Otherwise, they would extend to the window’s right margin. A negative number for the...

HTML cơ bản - p 28

tailieu.vn

The title element (which has already made several appearances in these pages), the style ele- ment, and the base element are described in the following sections along with one of the most useful elements in the document head—the comment.. The site visitors don’t see them, and the robots ignore them, but they will be of enormous help to the next...

HTML cơ bản - p 29

tailieu.vn

Use comments within the code to explain the relationship of the markup to the content. The content model for any element roughly defines what types of content the element may contain.. next to the element’s name indicates that it is new or signifi- cantly changed in HTML5.. Content Model Description. metadata The content consists of HTML head elements and comments...

HTML cơ bản - p 30

tailieu.vn

<length>. <length>. background-size * <length>. border-bottom-color <color>. current color no border-bottom-left-. radius * <length>. 0 no border-bottom-. right-radius * <length>. border-bottom-. width <length>. border-left-width <length>. border-length * <length>. border-radius * <length>

HTML cơ bản - p 31

tailieu.vn

border-right-width <length>. border-spacing <length>. border-top-color <color>. current color no border-top-left-. radius * <length>. 0 no border-top-right-. 0 no border-top-style none | hidden | dotted. border-top-width <length>. box-flex * <integer>. box-flex-group * <integer>. box-ordinal-group * <integer>. column-count * <integer>. column-gap * <length>. column-rule-width * <length>. column-width * <length>. <integer>. adjust * central | middle | after- edge | text-after-edge | ideographic...

HTML cơ bản - p 32

tailieu.vn

max-height <length>. inherit | none none no. max-width <length>. inherit none no. min-height <length>. inherit | none 0 no. min-width <length>. root | <string>. inherit auto no nav-index * auto | <integer>. inherit auto no nav-left * auto | <id>. inherit auto no nav-right * auto | <id>. inherit auto no nav-up * auto | <id>. inherit auto no. orphans...

html cơ bản - p 33

tailieu.vn

character entity, 36. <>. <a>. element, 48, 271 absolute positioning, 167 accesskey attribute, 52 accordion lists, 239-240 action attribute (<form>. element address blocks, 61-67. <table>. character entity, 37 ampersand (&. element, 28, 269 border attribute (<table>. <b>. element, 272 Berners-Lee, Tim, 6 bgcolor attribute (<table>. element, 276. character entity, 37 Courier, 129 Courier New, 129 CSS (Cascading Style. (<table>. CSS2.1...

HTML cơ bản - p 34

tailieu.vn

element unordered lists, 67-69 url attribute (<form>. element, 48, 272 Verdana, 129. vertical alignment, 150-152. vertical-align property, 150-152. element, 95, 273 View Source option,. 182-183 spanned rows and. target audience, 212-213. text, flowing around images, 44-45 text-align property, 144. 144-145. text-indent property, 146 text properties. letter-spacing, 148-149 line-height, 146-148 text-align, 144. text-decoration, 144-145 text-indent, 146. text-transform, 146 vertical-align, 150-152 white-space,...