lowercasecss
css3按钮 时间:2021-02-11 阅读:(
)
02/15/0608:051IntroductiontoCSSHTMLandCSSHTMLandCSSHTML–creatingdocumentsforonlineHTML–creatingdocumentsforonlinedisplaydisplayCascadingStyleSheets–thenew,CascadingStyleSheets–thenew,improvedwaytocontrolawebpage'simprovedwaytocontrolawebpage'sappearanceappearance02/15/0608:052IntroductiontoCSSOverview-topicsOverview-topicsWhatisHTMLBasicformatStructureandtagsEntitiesLists–CSSHyperlinksGraphics(Tables)(moreCSS)02/15/0608:053IntroductiontoCSSWhatWhatisisHTMLHTMLHHyperyperTTextextMMarkuparkupLLanguageanguageHyperText…HyperTextisany(text-based)documentthatincludeslinkstootherdocuments.
…MarkupLanguageMarkuplanguageisusedto"markup"thetext(andothercontents)ofadocumentandspecifyitsappearance.
HTMLAvarietyofmarkuplanguage,usedfordocumentsbeingaccessedovertheInternet02/15/0608:054IntroductiontoCSSAnHTMLdocument–awebpageAnHTMLdocument–awebpageAwebpagecontainsobjectstobedisplayedsimpleobjects:wordsnot-so-simpleobjects:pictures,linkstootherwebpages,wordsindifferentfonts/colors/sizesgroupsofobjects:paragraphs,tables,etc.
AnHTMLelementisanobjectcontainedwithinmarkerscalledtagsElementsinaproperwebpagefollowastructure02/15/0608:055IntroductiontoCSSMinimalElementsofaCorrectHTMLDocumentMinimalElementsofaCorrectHTMLDocumentEVERYhtmldocumentshouldhavethisstructure:theheadcontains"control"informationthebodycontainsthedisplayedcontentseverythingiscontainedwithinthehtmlelement02/15/0608:056IntroductiontoCSSHTMLandDocumentStructureHTMLandDocumentStructureAnHTMLdocumentisacollectionoflogicalparts:sections,paragraphslists,tablesgraphicelementsothers,including"customized"elementsHTMLelementscorrespondtotheselogicalpartsSectionsareseparatedbyheadings,,etc.
ParagraphsareformedbytagsTagsforlistsandfortables02/15/0608:057IntroductiontoCSSMarkingUpwithHTMLMarkingUpwithHTMLTagsmarkoutspecifichtmlelementsTagpropertiesdescribehowtheelementshouldlookFormattingwithTags:Wordsorabbreviationsareenclosedin"anglebrackets"a.
k.
a.
"less-than"and"greater-than"Tagpairscomeinpairs-beginningandend.
example:…Tagsshouldbeinlowercasebutolderwebpagesoftenuseuppercasetags02/15/0608:058IntroductiontoCSSSomeoftheBasicElements(TagPairs)SomeoftheBasicElements(TagPairs)DefineanhtmlfileInformationaboutthefileThefile'stitle(notthe"title"ofthecontents!
)Thedisplayablecontents,,,…(),()Thesecontroltheappearanceofthedisplayedcontents02/15/0608:059IntroductiontoCSSStructuralHTMLElementsStructuralHTMLElementsBlockelementh1,h2,p,ol,ul,table,div,…also:hr,brEachelementcompletelyfillsthewidthofthedisplay–evenifitscontentsdon'tSomeblockelementscancontainotherblockelements-butnotall,andnotalwaysIn-lineelementem,strong,img,a,…OnlyaswideasnecessaryforitscontentsContainedwithinotherelementsCannotcontainablockelement02/15/0608:0510IntroductiontoCSSAngleBracketsinHTML;theEscapeSymbolAngleBracketsinHTML;theEscapeSymbolSomecharacterscan'tbeintypedinawebpage:—"anglebrackets"indicatetags&—"ampersand"isanescapesymbolusedwith;non-EnglishlettersHTMLentitiesproducesuch"un-type-able"charactersEntitybeginswithampersand(&)escape;thenanabbreviation;thenasemicolon(;)<displaysas&displaysas&02/15/0608:0511IntroductiontoCSSasamplingofEuropeanlettersandspecialsymbolsasamplingofEuropeanlettersandspecialsymbolsFindcompletelistsatmontcs.
bloomu.
edu/~bobmon/Information/HTML.
CSS.
JavaScript/html-entities.
htmlorwww.
w3.
org/TR/xhtml1/dtds.
html§§÷÷µëℵ‡üüêê∞∞†ûéé√√>>úúèè¶<somelistsolli{color:red}olliol{list-style-type:upper-roman;}ExamplesofListsThispagedemonstratestwokindsofhtmllists.
Onekindhasnumbers;theotherkindhasbullets.
OrderedlistBreakfast.
Oneword:Pop-Tarts!
coffeeblueberrypoptartLunch.
Leftovers,yum.
Supper.
MydepartmentwillhavesupperwithsomeChinesefaculty.
Unorderedlisttinyelephants:notnativetoPennsylvania.
cats:furryli'lthings.
DorianMarcyEtceteragoldfish:alsoknownascatfood.
parakeets:morecatfood.
02/15/0608:0514IntroductiontoCSSAttributesAttributesAdditionalinformationaddedtoanelementInsidetheoftheopeningtagSomeelementsrequireoneormoreattributesExamples:OptionalformostelementsThestyle="…"andclass="…"attributesareveryusefulforcontrollingappearance02/15/0608:0515IntroductiontoCSSAttributesappliedtotheH1headingelement:AttributesappliedtotheH1headingelement:attributeexampleHeadingwithnoattributes.
helloI'maheadingwithaSTYLEattribute!
AndI'manother.
TheseCSSattributeslooklike…02/15/0608:0516IntroductiontoCSSLinks–whatmakesHTML"Hyper"Links–whatmakesHTML"Hyper"The"anchor"elementformsalinktoadifferentwebpagethereference–thepagebeinglinkedtoalsoknownastheURLtheanchor–thewordorphrasethatyouclickon,togotothelinkopeningtagisplusarequiredattributeclosingtagisAnanchorelement:clickhere02/15/0608:0517IntroductiontoCSSLinkexamples:Linkexamples:attributeexampleThiswebpagedemonstratesalink:clickhere.
Hereisanotherlink:textfile.
Thislinkgoestoawebpagethatissomewhereelse.
Thesourcefileontheleftisdisplayed(rendered)below:Thefirsttwolinksrefertolocalfiles.
ThelastlinkistoaURLonadifferentwebsite:02/15/0608:0518IntroductiontoCSSUniformResourceLocatorsUniformResourceLocatorsKnownasURLsGeneralizedformofa"filename"includesdirectorypaths,website,etc.
mayincludeaprotocolfortransmittingthefileHTTP–HyperTextTransferProtocoltheprotocolusedforwebpages(andotherfiles)sentovertheWorldWideWebusedwithTCP/IPprotocols02/15/0608:0519IntroductiontoCSSNon-textElementsNon-textElementsApictureinawebpageisan"image"elementThetagcreatesanimageelementrequiredattribute:src="…"thepictureisspecifiedbyaURLorfilenameThereisnoclosingtagAnimageelementcanbeusedanywheretextis:Inatable,list,paragraph,etc.
Astheanchorpartofalink02/15/0608:0520IntroductiontoCSSexamplesexamplesThisHTMLsourcefilecontains:–Alocalimage–Alocalimagewithoptionalattributes–AnimageloadedfromadifferentwebsiteontheInternet(across-sitelink)imgexamples<img.
.
.
>requiresthe"src"attribute:Localimage:<imgsrc="money-small.
jpg">Imagewithoptional"width"and"height"attributes<imgheight="100px"width="50%"src="money-small.
jpg">……ApicturefromtheWorldWideWeb:<imgsrc="http://lolcats.
com/images/u/07/38/lolcatsdotcomqmb89lbyjmqmkwoe.
jpg">02/15/0608:0521IntroductiontoCSSexamples–theoutputexamples–theoutputThedisplayedimageslooklikethis…LocalimageLocalimagewithoptionalwidthandheightattributesAnimageloadedovertheInternet
云步云怎么样?云步云是创建于2021年的品牌,主要从事出售香港vps、美国VPS、日本VPS、香港独立服务器、香港站群服务器等,机房有香港、美国、日本东京等机房,目前在售VPS线路有CN2+BGP、CN2 GIA,香港的线路也是CN2直连大陆,该公司旗下产品均采用KVM虚拟化架构。目前,云步云提供香港安畅、沙田、大浦、葵湾、将军澳、新世界等CN2机房云服务器,2核2G5M仅72.5元/月起。点击进...
RAKsmart发布了9月份优惠促销活动,从9月1日~9月30日期间,爆款美国服务器每日限量抢购最低$30.62-$46/月起,洛杉矶/圣何塞/香港/日本站群大量补货特价销售,美国1-10Gbps大带宽不限流量服务器低价热卖等。RAKsmart是一家华人运营的国外主机商,提供的产品包括独立服务器租用和VPS等,可选数据中心包括美国加州圣何塞、洛杉矶、中国香港、韩国、日本、荷兰等国家和地区数据中心(...
易探云怎么样?易探云是目前国内少数优质的香港云服务器服务商家,目前推出多个香港机房的香港云服务器,有新界、九龙、沙田、葵湾等机房,还提供CN2、BGP及CN2三网直连香港云服务器。近年来,许多企业外贸出海会选择香港云服务器来部署自己的外贸网站,使得越来越多的用户会选择易探云作为网站服务提供平台。今天,云服务器网(yuntue.com)小编来谈谈易探云和易探云服务器怎么样?具体香港云服务器多少钱1个...
css3按钮为你推荐
供应商搜狗浏览器2上海fastreport2University163contentgoogleCouriercss支持ipad支持ipadgetIntjava化学品安全技术说明书ipad连不上wifiipad显示无互联网连接怎么回事?
北京服务器租用 vps代购 个人域名备案流程 赵容 tk域名 anylink 域名转向 美国堪萨斯 上海联通宽带测速 银盘服务是什么 香港亚马逊 空间首页登陆 网页提速 linode支付宝 中国电信测速网站 广东服务器托管 阿里云邮箱怎么注册 电信主机托管 发证机构 认证机构 更多