tailieunhanh - html xhtml and css for dummies 7th edition phần 2

Có một số thẻ mà bạn có thể sử dụng để chứa giá trị như tên người dùng hoặc tên nhóm vào cơ thể của tin nhắn. Đối với mục đích trình diễn, tôi sẽ để lại tất cả các giá trị thiết lập mặc định của module OG cung cấp một số các khối cho phép người sử dụng và quản trị viên để tạo ra, tham gia, | Chapter 1 The Least You Need to Know about HTML CSS and the Web 21 Attributes Attributes allow variety in how an element describes content or works. Attributes let you use elements differently depending on circumstances. For example the img element uses the src attribute to specify the location of the image you want to include on your page img src images alt header graphic width 794 height 160 In this bit of HTML the img element itself is a general flag to the browser that you want to include an image the src attribute provides the specifics on the image you want to include in this instance. Other attributes such as width and height provide information about how to display that image while the alt attribute provides a text alternative to the image that a text-only browser can display or a text-to-speech reader can read aloud for the visually impaired . Chapter 7 describes the img element and its attributes in detail. You include attributes within the start tag of the element you want them with after the element name but before the ending sign like this tag attribute value attribute value XML syntax rules decree that attribute values must always appear in quotation marks but you can include the attributes and their values in any order within the start tag or within a single tag. Every X HTML element has a collection of attributes that can be used with it but you can t mix and match attributes and elements however you please. Some attributes can take any text as a value because the value could be anything like the location of an image or a page you want to link to. Others have a specific list of values the attribute can take such as your options for aligning text in a table cell. The HTML and XHTML specifications define exactly which attributes you can use with any given element and which values if explicitly defined each attribute can take. Each chapter in Parts II and III covers which attributes you can use with each X HTML element. .

TÀI LIỆU LIÊN QUAN
TỪ KHÓA LIÊN QUAN