HTML/CSS HTML Attributes
Attributes are additional information provided by HTML elements. Attributes usually appear in the opening tag of an HTML tag and are used to define the behavior, style, content, or other characteristics of an element. Attributes are always written in the form of name=”value” in the tag, where name is the name of the attribute and value is the value of the…
HTML/CSS HTML Elements
An HTML document is defined by HTML elements. HTML Elements Start tag * Element Content End tag * <p> This is a paragraph </p> <a href=”default.htm”> Here is a link </a> <br> Line Break * The start tag is often called the opening tag , and the end tag is often called the closing tag . HTML Element Syntax…
HTML/CSS HTML tag abbreviations and full names
The following table lists the HTML tag abbreviations and their full names: Tag English Full Name Chinese full Name a Anchor 锚 abbr Abbreviation 缩写词 acronym Acronym 取首字母的缩写词 address Address 地址 alt alter 替用 (一般是图片显示不出的提示) b Bold 粗体(文本) bdo Bi-Directional Override 文本显示方向 big Big 变大(文本) blockquote Block Quotation 区块引用语 br Break 换行 cell cell 巢…
HTML/CSS HTML tag abbreviations and full names
The following table lists the HTML tag abbreviations and their full names: Tag English Full Name Chinese Full Name a Anchor 锚 abbr Abbreviation 缩写词 acronym Acronym 取首字母的缩写词 address Address 地址 alt alter 替用 (一般是图片显示不出的提示) b Bold 粗体(文本) bdo Bi-Directional Override 文本显示方向 big Big 变大(文本) blockquote Block Quotation 区块引用语 br Break 换行 cell cell 巢…
HTML/CSS HTML Quick Lookup List
HTML cheat sheet. You can print it for daily use. HTML basic document Basic Tags Text Formatting Links Images Styles/Sections Unordered list Ordered List Definition List Tables Iframe Forms Entities
HTML/CSS HTML character entities
Reserved characters in HTML must be replaced with character entities. Some characters not found on the keyboard can also be replaced using character entities. HTML entities In HTML, certain characters are reserved. You cannot use the less than (<) and greater than (>) signs in HTML because browsers mistake them for tags. If we want…
HTML/CSS HTML script
JavaScript makes HTML pages more dynamic and interactive. Online Instance How to insert a script into an HTML document. How to deal with browsers that do not support scripts or have scripts disabled . HTML <script> tag The <script> tag is used to define client-side scripts, such as JavaScript. The <script> element can contain script statements…
HTML/CSS HTML color names
The following color names are currently supported by all browsers. 141 color names are defined in the HTML and CSS color specifications (17 standard colors, plus 124 more). The following table lists all color values, including hexadecimal values. Tips: 17 standard colors: black, blue, aqua, fuchsia, gray, green, lime, maroon, navy, olive, orange, purple, red,…
HTML/CSS HTML color values
Colors are composed of red (R), green (G), and blue (B). Color value Color values are represented by hexadecimal notation for red, green, and blue (RGB). The lowest value for each color is 0 (hexadecimal 00) and the highest value is 255 (hexadecimal FF). Hexadecimal values are written as a # sign followed by three…