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
wordpress简洁英文主题,wordpress简洁通用大气的网站风格设计 + 更适于欧美国外用户操作体验,完善的外贸企业建站功能模块 + 更好的移动设备特色模块支持,更高效实用的后台自定义设置 + 标准高效的代码程序功能结构,更利于Goolge等国际搜索引擎的SEO搜索优化和站点收录排名。点击进入:wordpress简洁通用型高级外贸主题主题价格:¥3980 特 惠 价:¥1280安装环境:运...
Fiberia.io是个新站,跟ViridWeb.com同一家公司的,主要提供基于KVM架构的VPS主机,数据中心在荷兰Dronten。商家的主机价格不算贵,比如4GB内存套餐每月2.9美元起,采用SSD硬盘,1Gbps网络端口,提供IPv4+IPv6,支持PayPal付款,有7天退款承诺,感兴趣的可以试一试,年付有优惠但建议月付为宜。下面列出几款主机配置信息。CPU:1core内存:4GB硬盘:...
Boomer.Host是一家比较新的国外主机商,虽然LEB自述 we’re now more than 2 year old,商家提供虚拟主机和VPS,其中VPS主机基于OpenVZ架构,数据中心为美国得克萨斯州休斯敦。目前,商家在LET发了两款特别促销套餐,年付最低3.5美元起,特别提醒:低价低配,且必须年付,请务必自行斟酌确定需求再入手。下面列出几款促销套餐的配置信息。CPU:1core内存:...
css3按钮为你推荐
路由route伺服器win7更新iphonecss3圆角css实现圆角的几种方法是什么?x-routerX-TRAlL是什么意思chromeframe有用过 Google Chrome Frame 的吗altools.u32为什么我做的Authorware在打包后不是全屏的?卡巴斯基免费卡巴斯基有免费的吗graphsearch如何利用graph search搜刮粉丝周鸿祎3721周鸿祎跟360金融是什么关系啊?
虚拟主机租用 什么是域名 工信部域名备案系统 directspace 10t等于多少g 免备案空间 发包服务器 免费个人网站申请 微信收钱 国外代理服务器软件 hktv 网站在线扫描 smtp虚拟服务器 备案空间 万网空间 广东主机托管 中国联通宽带测试 脚本大全 godaddy域名 asp.net虚拟主机 更多