摘要:
1.alter the size and shape of the text2.font-family:Arial, Verdana,"Times New Roman",helvetica,serif3.font-size:vs h1 ;1px vs 1.5em4.font-weitht:whether the text is bold or notbold/500,600,700normal/100,200,300,400lighter bolder5.font-style:italic/normal6.text-decoration:underline/overline 阅读全文
摘要:
1.redrgb(255,0,0)rgb(100%,0%,0%)#ff0000#f002.Predefined color nameaqua, black, blue, fuchsia, gray, green, lime, maroon, navy, olive, orange, purple, red, silver, teal, white, and yellow. transparent3.rgb4.Hexadecimal/sexadecimalthree-digit:easier to decipherSix-digit:give you more control over the 阅读全文
摘要:
1.Whereas HTML has tags,CSS has selectors.2.Selector{properties:value;properties2:value2;}3.Lengths & Percentagespx:unit for pixelsem:unit for the calculated size of a font;N times the current sizept:unit for points ,printed media%:pc-picas,cm-centimeters,mm-millimeters,in-incheszero value,no ne 阅读全文
摘要:
CSS(Cascading Style Sheets)1.Applying CSSThree ways:1.In-line2.Internal3.External2.In-linestyle attributeThe best-practice approach is that the HTML should bea stand-alone,presentation freedocument, and so in-line styles should beavoidedwherever possible3.Internal/Embedded Used for the whole page .. 阅读全文
摘要:
1.Form Collect data inputted by a user. Used as an interface for a web application,or send data across the web.2.attribute: action:where its contents will be sent to method:how the data in it is going to be sentget:shorter chunks of non-sensitive informationpost:lengthier,more secure submissions... 阅读全文
摘要:
1.Table Abused to lay out pages The correct use for tables is to do exactly what you would expect a table to do-tostructure tabular data2. row data cell:must be enclosed in tr tags 阅读全文
摘要:
1.Image The web is not just about text,it is amulti-media extravaganzaand the most common form ofsparkleis the image.2.attributes:srcwidth height :ne... 阅读全文
摘要:
1.LinkHTML wich basically means a system of linked text link to another HTML file or any file anywhere on the web or another part of the same page they are on.2.an anchor tagdefine a link3.hrefThe destination of the link is defined in the href attribute of the tagabsolute or relative to the current. 阅读全文
摘要:
1.Order listnumbered2.Unorder listbulleted list3.List item4.A list within a list 阅读全文
摘要:
1.Headingsh1 h2 h3 h4 h5 h6 h1 being the almighty emperor of headings h6 being the lowest pled Note that theh1tag is only used once,as the main heading of the page.h2 to h6,however ,can be used as often as desired,but they should always be used in order 阅读全文
摘要:
1.Paragraphs distinct blocks of the text Think of the HTML contents as if it were a book-with paragraphs where appropriate.2.Emphasisin italicsin bold3.Line breakscould be tempting to over-use.br shouldn't be used if two blocks of text are intended to be separate from one another 阅读全文
摘要:
1 page title contains informationaboutthe pagethe title of the document 阅读全文
摘要:
HTML(Hypertext Text Mark-up Language)&(How To Make L)HTML is used formeaningand CSS is used forpresentationLearn fromhtmldog1.Tagsopening tag:kicks things offcontentclosing tagdocument type declarationlet the browser know which flavor of HTML you're using(HTML5,in this case)tell the browser 阅读全文