[]
html5 ve css?
bruce lawson tarafindan yazilan introducing html5 kitabini okuyordum. simdi ilk bolumde css ile html5'in nasil entegre edilecegini anlattilar. html5'de bile su kodu kullanmamiz gerekir saniyordum.
<style sheet="text/css">
<!--
@import url("a.css");
-->
</style>
ama birinci bolum ozetinin sonunda soyle bir sey yazmis adam.
"In this chapter, we’ve taken our first look at HTML5, and its
DOCTYPE. We’ve seen its forgiving syntax rules such as
optional uppercase/lowercase, quoting and attribute minimisation,
omitting implied elements like head/body, omitting
standard stuff like type=”text/javascript” and ”text/css” on
the <script>, and <style> tags. We’ve structured the main landmarks
of a web page using <header>, <footer>, <nav>, <aside>,
and <article>, providing user agents with more semantics than
the meaningless generic <div> element that was our only option
in HTML 4 and styled the new elements with the magic of CSS.
Not bad for one chapter, eh?"
kisacasi adam text/css, style tag'larini kullanmadan css'i html5 dokumanina import edebilecegimizi yazmis. bunu yukarida yazdigim kodu kullanmadan nasil yapabiliyoruz?
<style sheet="text/css">
<!--
@import url("a.css");
-->
</style>
ama birinci bolum ozetinin sonunda soyle bir sey yazmis adam.
"In this chapter, we’ve taken our first look at HTML5, and its
DOCTYPE. We’ve seen its forgiving syntax rules such as
optional uppercase/lowercase, quoting and attribute minimisation,
omitting implied elements like head/body, omitting
standard stuff like type=”text/javascript” and ”text/css” on
the <script>, and <style> tags. We’ve structured the main landmarks
of a web page using <header>, <footer>, <nav>, <aside>,
and <article>, providing user agents with more semantics than
the meaningless generic <div> element that was our only option
in HTML 4 and styled the new elements with the magic of CSS.
Not bad for one chapter, eh?"
kisacasi adam text/css, style tag'larini kullanmadan css'i html5 dokumanina import edebilecegimizi yazmis. bunu yukarida yazdigim kodu kullanmadan nasil yapabiliyoruz?
burda diyor ki script taginde type=”text/javascript” style taginde ”text/css” kullanmadığımızda bizi hoş görüyor diyor. style tagi ve script tagi baki yani.
- oshamahue (15.09.11 19:25:07)
<style>
<!--
@import url("a.css");
-->
</style>
bu şekilde kullanımından bahsetmiş yani?
<!--
@import url("a.css");
-->
</style>
bu şekilde kullanımından bahsetmiş yani?
- night fury (15.09.11 19:34:07)
1