HTML5 태그 사전

base

정의

base요소는 HTML문서의 기준 URL을 명시합니다

 

속성

  • href : 문서의 기준이 되는 URL을 지정합니다.
  • target : 링크를 어떤 프레임에 열것인지를 결정합니다.
    • _blank : 새창에 엽니다.
    • _parent : 부모창에 엽니다.
    • _self : 자신의 창에 엽니다.
    • _top : 화면이 여러 프레임으로 이루어져있는 경우 모든 프레임을 지우고 전체 화면에 엽니다.
    • [name] : 지정된 이름에 링크를 엽니다.

설명

  • 문서의 head요소 안에서 사용됩니다.
  • href 속성이나 target 속성중 반드시 하나 이상을 써야하며 둘 다 사용할 수도 있습니다.

 

 

예제

<!DOCTYPE html>
<html>
    <head>
        <title>오픈튜토리얼스 - 생활코딩</title>
        <base href="http://opentutorials.org/" target="_blank">
    </head>
    <body>
        오픈튜토리얼스 html5강좌입니다.
    </body>
</html>

위의 예제에서 문서의 기준이 되는 url은 http://opentutorials.org이며 모든 링크는 새창에 열리게 됩니다.

 

 

 

 

 

 

댓글

오류나 오타 신고 환영합니다. ^^;;
(도와주세요!)

댓글 본문
작성자
비밀번호
  1. zzyytt
    http://www.jordansshoes.us.org
    http://www.jordan6.us.com
    http://www.goyardhandbags.us.com
    http://www.polosralphlaurenuk.com
    http://www.yesyeezy.shop......tml
    http://www.yesyeezy.shop......tml
    http://www.yesyeezy.shop......tml
    http://www.adidasstansmith.us.com
    http://www.goldengoosesneakers.us
    http://www.jordansforcheap.us.com
    http://www.handbagsmichaelkors.com
    http://www.yeezy700.us.com
    http://www.adidas-pureboost.us.com
    http://www.coachsonline.us.com
    http://www.filashoes.org
    http://www.hardenshoes.us.com
    http://www.yeezy-shoes.org.uk
    http://www.adidasstansmith.uk
    http://www.michaelkors-outletfactory.us.org
    http://www.vapormaxshoes.us
    http://www.mlbjerseys.in.net
    http://www.air-max.us.com
    http://www.asics-shoes.us.org
    http://www.jimmychoo-shoes.us.com
    http://www.golden-goose.us.com
    http://www.nikeairforce1.us.com
    http://www.hermesbelts.com
    http://www.pandorabracelet.in.net
    http://www.nikeflyknit.us.com
    http://www.hermeshandbags.us.org
    http://www.balenciaga.us.com
    http://www.adidas-crazyexplosive.us.com
    http://www.longchamp-bags.us.org
    http://www.lebronjames-shoes.us.com
    http://www.balenciagashoes.us.org
    http://www.supremehoodie.us.com
    http://www.fitflops-saleclearance.us.com
    http://www.lebron16.us
    http://www.longchamphandbagsoutlets.com
    http://www.coachoutletsfactory.com
    http://www.outletlacoste.us.com
    http://www.nike-airmax2017.us.com
    http://www.coachoutletstorefactory.com
    http://www.michaelkors-outletonlines.us.com
    http://www.jordanshoes.org.uk
    http://www.chromehearts.name
    http://www.filas.us.com
    http://www.goldengoose-sneakers.com
    http://www.adidasnmds.com
    http://www.kyrie3.us.com
    http://www.curry4shoes.us.com
    http://www.offwhitexjordan1.com
    http://www.jordan12.us.com
    http://www.lacostepolo.us.com
    http://www.airjordanretro.uk
    http://www.katespadehandbags-outlet.us.com
    http://www.coachoutlets.name
    http://www.nike-huarache.com
    http://www.bape-hoodie.us.com
    http://www.hermes-belt.us.com
    http://www.long-champ.us.com
    http://www.michaeljordanshoes.us.com
    http://www.nikeair-max.us.com
    http://www.hermesonlineshop.com
    http://www.hermes-handbags.us.com
    http://www.kobeshoes.uk
    http://www.lebron15.net
    http://www.ferragamobelt.us
    http://www.offwhiteclothing.us.com
    http://www.nikereact.org
    http://www.cheapnbajerseyswholesales.us.com
    http://www.yesyeezy.shop......tml
    http://www.michael-kors-handbags.com.co
    http://www.yeezyboost.in.net
    http://www.outletonline-michaelkors.us.org
    http://www.curry5.us
    http://www.yesyeezy.shop......tml
    http://www.nhljerseys.us.org
    http://www.yeezyboost350v2.org.uk
    http://www.yesyeezy.shop......tml
    http://www.kyrie4.org
    http://www.nikecortez.us.com
    http://www.kd11.us
    http://www.nikehuaracheshoes.us.com
    http://www.vans-outlet.us.com
    http://www.nikepolo.us
    http://www.yesyeezy.shop......tml
    http://www.hoganoutletonline.us.com
    http://www.adidaszxflux.com
    http://www.lacosteonlineshop.us.com
    http://www.jordanssneakers.us.com
    http://www.kd11.us.com
    http://www.yeezy-boosts.us.com
    http://www.goldengoose-sneakers.us
    http://www.monclerjackets.us
    http://www.nikejordans.us.com
    http://www.kobebasketballshoes.net
    http://www.kyrieirving-shoes.us.com
    http://www.goyardhandbags.org
    http://www.hermes-birkin.us.com
    http://www.retro-jordans.us.com
    http://www.outletmichael-kors.us.com
    http://www.ultraboost.us.com
    http://www.yeezy500.us
    http://www.jordan13.us.com
    http://www.adidasultraboost.us.org
    http://www.nike-roshe.us.com
    http://www.valentinos.us.com
    http://www.jordan-retro.us.com
    http://www.yeezyboost350v2shoes.us.com
    http://www.curry4.us.com
    http://www.airmax90.us.org
    http://www.nikefoamposite.us.com
    http://www.airmax270.us.com
    http://www.jordan4.us.com
    http://www.coachoutletssale.com
    http://www.yeezy-shoes.org
    http://www.monclerjacket.net
    http://www.longchamphandbagsonlines.com
    http://www.reebokoutlet.us.org
    http://www.yeezy-shoes.ca
    http://www.yeezysuk.com
    http://www.nike-hyperdunk.us.com
    http://www.chromehearts.com.co
    http://www.kd-10.us
    http://www.michael-kors-handbags.org.uk
    http://www.long-champhandbags.org.uk
    http://www.yesyeezy.shop......tml
    http://www.adidasyeezy.co.uk
    http://www.michael--korsoutlet.us.org
    http://www.adidasshoesonline.com
    http://www.off-whiteshoes.us.com
    http://www.michaelkors-outletstore.com
    http://www.yesyeezy.shop......tml
    http://www.monclersoutlet.us.com
    http://www.adidasyeezys.us.com
    http://www.converseoutlet.us.com
    http://www.yeezysshoes.us.com
    http://www.adidasyeezys.us
    http://www.fakerolex.us.com
    http://www.nikeairmax2018.us.com
    http://www.hermesbelts.co.uk
    http://www.yeezy-500.us.com
    http://www.yesyeezy.shop......tml
    http://www.yesyeezy.shop......tml
    http://www.kobe-shoes.us.com
    http://www.kobesneakers.com
    http://www.lacostepolosshirts.com
    http://www.outlettimberland.us.org
    http://www.nikeairmax2019.us.com
    http://www.yeezy-boost350.us.com
    http://www.bapehoodie.us
    http://www.yesyeezy.shop......tml
    http://www.goyardbags.us
    http://www.adidasiniki.us
    http://www.canada--goose.co.uk
    http://www.nike-shox.us.com
    http://www.yslhandbags.net
    http://www.russellwestbrookshoes.us.com
    http://www.ferragamobelt.us.org
    http://www.yeezy-shoes.us.org
    http://www.nikebasketballshoes.us.com
    http://www.linksoflondonus.com
    http://www.adidaseqts.com
    http://www.offwhitehoodie.us.com
    http://www.cheap-airjordans.us.com
    http://www.kevindurant-shoes.us.com
    http://www.jordan11retro.us.com
    http://www.lebron16.us.com
    http://www.chromeheartsstore.us
    http://www.balenciagashoes.us.com
    http://www.adidasnmduk.com
    http://www.guccibelt.us.com
    http://www.caterpillarboots.us.com
    http://www.toryburchs.us
    http://www.adidas-nmds.us.com
    http://www.goldengoose.us.com
    http://www.redbottom-shoes.us.com
    http://www.lebron16.net
    http://www.nfljerseys.us.org
    http://www.fila.us.org
    http://www.yesyeezy.shop
    http://www.yesyeezy.shop/nike-air-max-197-sean-wotherspoon-aj4219400-p-66.html
    http://www.goyard.us.com
    http://www.birkinbag.us.com
    http://www.nikereact.us.com
    http://www.offwhite.us.com
    http://www.rolex-replica.us.com
    http://www.fila-shoes.us.com
    http://www.adidasgazelle.us.com
    http://www.goldengoose-outlet.us.com
    http://www.adidas-tubular.us.com
    http://www.yeezy-boost.us.com
    http://www.michael-korsoutlets.us
    http://www.michaelkorsoutletonlineus.com
    http://www.goldengooseoutlet.us
    http://www.louboutinshoes.uk
    http://www.goyard-handbags.us.com
    http://www.yeezyboost-350.uk
    http://www.linksoflondon.us.com
    http://www.yeezyboost.com.co
    http://www.yeezyboost-350v2.us.com
    http://www.paulgeorgeshoes.us.com
    http://www.vans-shoes.us.org
    http://www.adidasoutletonline.com
    http://www.asicsgelkayano.us.com
    http://www.curry5.us.com
    http://www.mbtshoesonline.com
    http://www.nikesneakers.us.com
    http://www.yeezyshoesuk.com
    http://www.calvinkleinoutlet.us.com
    http://www.adidassuperstar.us.com
    http://www.shoesjordan.us.com
  2. http://www.adidaseqts.com
    http://www.yesyeezy.shop......tml
    http://www.curry5.us.com
    http://www.goldengoose-sneakers.com
    http://www.yesyeezy.shop......tml
    http://www.nfljerseys.us.org
    http://www.nikereact.org
    http://www.goldengoose.us.com
    http://www.yslhandbags.net
    http://www.adidasyeezy.co.uk
    http://www.curry4shoes.us.com
    http://www.yeezysuk.com
    http://www.jordansshoes.us.org
    http://www.yesyeezy.shop......tml
    http://www.michaelkors-outletstore.com
    http://www.adidasgazelle.us.com
    http://www.nike-hyperdunk.us.com
    http://www.chromeheartsstore.us
    http://www.valentinos.us.com
    http://www.bapehoodie.us
    http://www.yesyeezy.shop......tml
    http://www.converseoutlet.us.com
    http://www.nhljerseys.us.org
    http://www.canada--goose.co.uk
    http://www.redbottom-shoes.us.com
    http://www.filashoes.org
    http://www.fakerolex.us.com
    http://www.vans-shoes.us.org
    http://www.yesyeezy.shop......tml
    http://www.fila-shoes.us.com
    http://www.hermesonlineshop.com
    http://www.hardenshoes.us.com
    http://www.outletmichael-kors.us.com
    http://www.jordan13.us.com
    http://www.adidas-tubular.us.com
    http://www.golden-goose.us.com
    http://www.curry4.us.com
    http://www.guccibelt.us.com
    http://www.hermes-birkin.us.com
    http://www.goyard-handbags.us.com
    http://www.shoesjordan.us.com
    http://www.nikeairforce1.us.com
    http://www.jordanssneakers.us.com
    http://www.adidasstansmith.uk
    http://www.offwhiteclothing.us.com
    http://www.adidasultraboost.us.org
    http://www.monclerjacket.net
    http://www.fitflops-saleclearance.us.com
    http://www.longchamphandbagsoutlets.com
    http://www.longchamphandbagsonlines.com
    http://www.kobesneakers.com
    http://www.yeezy-500.us.com
    http://www.jordanshoes.org.uk
    http://www.lebron16.us
    http://www.polosralphlaurenuk.com
    http://www.hermes-belt.us.com
    http://www.hermes-handbags.us.com
    http://www.offwhitehoodie.us.com
    http://www.yesyeezy.shop......tml
    http://www.calvinkleinoutlet.us.com
    http://www.birkinbag.us.com
    http://www.pandorabracelet.in.net
    http://www.monclerjackets.us
    http://www.goyardbags.us
    http://www.jordansforcheap.us.com
    http://www.yeezysshoes.us.com
    http://www.mbtshoesonline.com
    http://www.goyardhandbags.org
    http://www.nikesneakers.us.com
    http://www.cheap-airjordans.us.com
    http://www.nike-airmax2017.us.com
    http://www.yesyeezy.shop......tml
    http://www.kd11.us
    http://www.paulgeorgeshoes.us.com
    http://www.offwhite.us.com
    http://www.jimmychoo-shoes.us.com
    http://www.outletonline-michaelkors.us.org
    http://www.nikeflyknit.us.com
    http://www.yeezy-boost.us.com
    http://www.yeezyshoesuk.com
    http://www.nike-roshe.us.com
    http://www.hermeshandbags.us.org
    http://www.nike-shox.us.com
    http://www.adidasoutletonline.com
    http://www.vans-outlet.us.com
    http://www.michaelkors-outletfactory.us.org
    http://www.outlettimberland.us.org
    http://www.yeezy-shoes.org.uk
    http://www.cheapnbajerseyswholesales.us.com
    http://www.kobebasketballshoes.net
    http://www.adidasstansmith.us.com
    http://www.supremehoodie.us.com
    http://www.yeezyboost-350.uk
    http://www.michael--korsoutlet.us.org
    http://www.airmax270.us.com
    http://www.yesyeezy.shop......tml
    http://www.jordan-retro.us.com
    http://www.long-champhandbags.org.uk
    http://www.kd11.us.com
    http://www.air-max.us.com
    http://www.jordan6.us.com
    http://www.michael-kors-handbags.com.co
    http://www.yeezy-boost350.us.com
    http://www.yesyeezy.shop......tml
    http://www.coachsonline.us.com
    http://www.yesyeezy.shop
    http://www.nikejordans.us.com
    http://www.ultraboost.us.com
    http://www.yeezyboost.in.net
    http://www.yeezyboost.com.co
    http://www.linksoflondonus.com
    http://www.nikecortez.us.com
    http://www.asicsgelkayano.us.com
    http://www.coachoutletstorefactory.com
    http://www.mlbjerseys.in.net
    http://www.curry5.us
    http://www.airmax90.us.org
    http://www.ferragamobelt.us.org
    http://www.nikepolo.us
    http://www.michaeljordanshoes.us.com
    http://www.outletlacoste.us.com
    http://www.michael-korsoutlets.us
    http://www.off-whiteshoes.us.com
    http://www.chromehearts.com.co
    http://www.adidas-nmds.us.com
    http://www.yeezy-shoes.us.org
    http://www.jordan12.us.com
    http://www.jordan4.us.com
    http://www.nikefoamposite.us.com
    http://www.katespadehandbags-outlet.us.com
    http://www.adidasnmduk.com
    http://www.toryburchs.us
    http://www.yeezy500.us
    http://www.kobeshoes.uk
    http://www.asics-shoes.us.org
    http://www.adidasyeezys.us
    http://www.coachoutletssale.com
    http://www.filas.us.com
    http://www.kyrieirving-shoes.us.com
    http://www.linksoflondon.us.com
    http://www.nikereact.us.com
    http://www.ferragamobelt.us
    http://www.nikebasketballshoes.us.com
    http://www.lebronjames-shoes.us.com
    http://www.goldengoosesneakers.us
    http://www.yeezy-shoes.org
    http://www.adidasyeezys.us.com
    http://www.nikeairmax2019.us.com
    http://www.kyrie4.org
    http://www.fila.us.org
    http://www.yesyeezy.shop/offwhite-x-nike-air-presto-black-aa3830002-p-291.html
    http://www.nikehuaracheshoes.us.com
    http://www.goyard.us.com
    http://www.adidasiniki.us
    http://www.adidas-pureboost.us.com
    http://www.yesyeezy.shop/adidas-yeezy-boost-350-v2-cream-white-cp9366-p-423.html
    http://www.kd-10.us
    http://www.yeezy700.us.com
    http://www.reebokoutlet.us.org
    http://www.monclersoutlet.us.com
    http://www.lacosteonlineshop.us.com
    http://www.michaelkorsoutletonlineus.com
    http://www.kobe-shoes.us.com
    http://www.kevindurant-shoes.us.com
    http://www.jordan11retro.us.com
    http://www.yeezy-shoes.ca
    http://www.coachoutletsfactory.com
    http://www.handbagsmichaelkors.com
    http://www.yesyeezy.shop/supreme-x-nike-air-more-uptempo-varsity-redwhite-902290600-p-592.html
    http://www.goldengoose-sneakers.us
    http://www.hoganoutletonline.us.com
    http://www.adidas-crazyexplosive.us.com
    http://www.nike-huarache.com
    http://www.vapormaxshoes.us
    http://www.michaelkors-outletonlines.us.com
    http://www.airjordanretro.uk
    http://www.yesyeezy.shop/balenciaga-17fw-triple-s-black-pink-women-sneaker-483523w06e38080-p-618.html
    http://www.balenciagashoes.us.com
    http://www.adidassuperstar.us.com
    http://www.michael-kors-handbags.org.uk
    http://www.lacostepolosshirts.com
    http://www.lebron16.us.com
    http://www.caterpillarboots.us.com
    http://www.nikeair-max.us.com
    http://www.goyardhandbags.us.com
    http://www.balenciagashoes.us.org
    http://www.yeezyboost-350v2.us.com
    http://www.adidaszxflux.com
    http://www.adidasnmds.com
    http://www.lebron15.net
    http://www.kyrie3.us.com
    http://www.adidasshoesonline.com
    http://www.coachoutlets.name
    http://www.nikeairmax2018.us.com
    http://www.hermesbelts.com
    http://www.balenciaga.us.com
    http://www.lebron16.net
    http://www.goldengoose-outlet.us.com
    http://www.hermesbelts.co.uk
    http://www.retro-jordans.us.com
    http://www.chromehearts.name
    http://www.rolex-replica.us.com
    http://www.goldengooseoutlet.us
    http://www.louboutinshoes.uk
    http://www.yeezyboost350v2shoes.us.com
    http://www.offwhitexjordan1.com
    http://www.yeezyboost350v2.org.uk
    http://www.lacostepolo.us.com
    http://www.russellwestbrookshoes.us.com
    http://www.yeezy-boosts.us.com
    http://www.longchamp-bags.us.org
    http://www.long-champ.us.com
    http://www.bape-hoodie.us.com
    wwwe
  3. htmlhm
    ㅋ herf가 아니라 href
    대화보기
    • 우리에게 열린 다른 문을 보지 못한다
      이것을 사용하는 목적이나 이유를 덧붙여서 설명도 붙이면 좋을 것 같습니다
    • 푸른하늘
      3
    • MiJey
      head에서 base태그를 지정해놓으면 해당 문서에서는 url을 상대경로로 지정할 수 있게 됩니다.
      base는 문서 당 하나만 지정 가능합니다.

      <!DOCTYPE html>
      <html>
      <head>
      <base href="http://localhost" target="_blank">
      </head>
      <body>
      <a herf="/test/a.html">http://localhost/test/a.html 열기</a>
      </body>
      </html>
    • 서예훈
      맨 아랫줄 url 링크가 잘못되있네요~
    • phpfacebook
      이것을 사용하는 이유나 목적이 뭘까요?
    • 리체:leezche
      감사합니다. 오타 수정되었습니다. ^^;;
      대화보기
      • 환타니아
        예제) 4행, 8핼에서.. 오픈튜토리알스 -> 오픈튜토리얼스
      버전 관리
      아무나
      현재 버전
      선택 버전
      graphittie 자세히 보기