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
RackNerd今天补货了3款便宜vps,最便宜的仅$9.49/年, 硬盘是SSD RAID-10 Storage,共享G口带宽,最低配给的流量也有2T,注意,这3款补货的便宜vps是intel平台。官方网站便宜VPS套餐机型均为KVM虚拟,SolusVM Control Panel ,硬盘是SSD RAID-10 Storage,共享G口带宽,大流量。CPU:1核心内存:768 MB硬盘:12 ...
bgpto怎么样?bgp.to日本机房、新加坡机房的独立服务器在搞特价促销,日本独立服务器低至6.5折优惠,新加坡独立服务器低至7.5折优惠,所有优惠都是循环的,终身不涨价。服务器不限制流量,支持升级带宽,免费支持Linux和Windows server中文版(还包括Windows 10). 特色:自动部署,无需人工干预,用户可以在后台自己重装系统、重启、关机等操作!bgpto主打日本(东京、大阪...
昔日数据,国内商家,成立于2020年,主要销售湖北十堰和香港HKBN的云服务器,采用KVM虚拟化技术构架,不限制流量。当前夏季促销活动,全部首月5折促销,活动截止于8月11日。官方网站:https://www.xrapi.cn/5折优惠码:XR2021湖北十堰云服务器托管于湖北十堰市IDC数据中心,母鸡采用e5 2651v2,SSD MLC企业硬盘、 rdid5阵列为数据护航,100G高防,超出防...
css3按钮为你推荐
清华大学经济管理学院支持ipad支持ipadipadwifiIpad怎么用移动无线上网ipadwifiipad wifi信号差怎么办360chrome360的chrome浏览器进程有点多哦???csshack关于CSS hack的写法chrome18CHROME现在最新版是多少?chrome18chrome的加速功能怎么开启呢?android5.1android 5.1是什么意思
广州主机租用 查询ip地址 adman tier 圣迭戈 美国php主机 godaddy域名转出 香港新世界电讯 正版win8.1升级win10 搜狗12306抢票助手 网游服务器 服务器监测 免费网页空间 吉林铁通 lick 英雄联盟台服官网 浙江服务器 免费赚q币 alexa世界排名 magento主机 更多