html record (simple)

Elements: the start tag, end tag content with the combination is a complete element.
Important element category:
   Block-level elements in the page to show the form of blocks - the front with respect to its content of it will appear in a new line, after which the contents will be pushed to the next line show. 
Block-level elements typically used to display the contents of page configuration, for example paragraphs, lists, navigation menu, the footer and the like. Show in the form of a block can not be nested block elements into inline elements, but can be nested within other block-level elements. Inline elements typically occurs in a small portion and around the block elements of the document content, rather than an entire paragraph or a set of content. Inline elements do not lead to wrap text: It is usually seen in between a bunch of text elements such as hyperlinks or emphasize elements. Properties: EXAMPLE class = "shuxing" Literals equivalent character reference
< &lt; > &gt; " &quot; ' &apos; & &amp; < Span > no semantics, styles are available separately provided < Code > code language </ code > page display program code format Ordered < OL > < Li > </ Li > .... </ OL > ordered arrangement < UL > < Li > </ Li > .... </ UL > Abstract: Abstract of the content will not show up in the browser. Its role is to increase the readability of the table (semantics), the search engines better understand the table of contents, but also allows screen reader users to read better help special table of contents. < The Table the Summary = "Introduction text table" > Title: used to describe the contents of the table, the position of the title: the top of the table. < Caption > The title text </ Caption > Create a table of four elements: table、tbody、tr、th、td . 1, < Table > ... </ Table > : entire table to < Table > tag begins, </ Table > tag ends. 2, < tbody > ... </ tbody > : if not < thead > < tbody > < tfooter > , Table After loading tables only display. Plus the table structure, comprising tbody row content downloaded preferentially displayed, without waiting for the end of the display table,
and if a long form, with tbody segment, may be a portion of the display. (Popular table can be appreciated by a block structure of the display, not the entire table, etc. After loading the display.) 3,
< tr > ... </ tr > : form a line, so there are a few tables there are a few lines of tr. . 4, < TD > ... </ TD > : a table cell, comprising pairs of line < TD > ... </ TD > , have described several columns in a row. . 5, < TH > ... </ TH > : a cell header table, table header. 6, the number of columns in the table, depending on the number of the data row of cells. <a href=" "></a> Use: href = path, jump to the page's URL, # jump page. May add target = "_ blank" New Page Jump Anchor Position: href = "# xxx"; the rest is set id = "xxx" Click to jump to the position id set. < A the href = "JavaScript: void (0);" add another event > </ A > < A href = "" > < img > </ A > add pictures, click the picture to jump < img > : 1, src: identifying the position of the image; 2, alt: descriptive text specified image, when the image is not visible (when the download is unsuccessful), see the text specified property; 3, title: providing (Text to display when the mouse over the image) in the image description of the image visible; 4, the image can be a GIF, PNG, JPEG image file format < INPUT type = "Type" name = "text box named" value = "text box default text (suggestive)" /> Type: text text input; password password; radio radio buttons; checkbox checkbox; button ordinary annual; submit button to submit; RESET Reset button; image Submit form button in FIG. Drop-down list: (selected = "selected" default selection) < The SELECT > < the Option value = "reading" > reading </ the Option > < the Option value = "Travel" > Travel </ the Option > < the Option value = "sports" > sport </ the Option > < the Option value = "shopping" the Selected = "the selected" > Shopping </ the option > </ select > after select Add multiple = "multiple" ctrl + click multiple-choice

 

Guess you like

Origin www.cnblogs.com/yangisme/p/11627052.html