今天面试一位网页设计师,没有问他太多的问题,了解了他的基本情况之后,问了他一个问题:B和Strong的区别。
他想了半天,没有想出来……而且好像并不知道这两个标签是什么,有什么用。
其实问这个问题不是故意刁难。
我认为能够真正说出这两个标签的区别的人,基本上算是很牛的人了,因为如果只是一般的网页设计师的话,不会去研究HTML标签的,更不会去对比两个类似标签的区别。
但是如果不知道这两个标签的人,肯定不是合格的网页设计师。
事实上,这两个标签的表现是一样的,都是文字的加粗。
网上有资料说B是实体标签,strong是逻辑标签,推荐使用实体标签 云云……
我个人比较推荐strong标签,原因如下:
1、Strong表示强调,对SEO友好。
2、Strong是Xhtml标准推荐使用的标签。
3、strong更具语义化。标签的语义化和CSS的语义化已然是一个趋势了。
目前strong的默认样式是加粗,也就是bold,如果说担心strong的默认样式会更改的话,我认为纯粹的杞人忧天,对于这么一个使用非常频繁的标签,我认为W3C不会随意改它的默认样式的,即使改了,我们也可以用CSS来定义它的表现。
浏览器对CSS的解释会逐渐趋于统一,我估计,将来浏览器之争不会在CSS的解释上面,而是在浏览器本身的功能和性能。只要符合CSS标准,兼容性问题将不再是问题。
Now,i am sitting in the K204 bus, my way home.
And,one minute ago,I want to go to station urgently,i want to go home.i want to company with her-my darling.
I hate of the gap between us, though there is not now. But some say the time should break the desire of lover. I want to beside her every second, but in fact, it is a dream, from morning to evening , only half an hour I can see her face to face- We connect depend on phone call, MSN, QQ ect. I can’t see her, she can’t see me, she’s several millions meter far away from me.
I love her so much, I want to company with her, this is my biggest desire.
Day by day, I have a dream, go out to work later and go home earlier, But it looks like a ruler to get up at 7:20 am and get home after 9:30 pm.
I hate this.
Sometimes I ask myself which one would I choice between work and my darling, but the answer had never been changed– My Darling.
They say don’t say that you haven’t time, only dead have no time.
May be I should have some change , for her…….
考虑写这篇文章是因为看到了FVzone的WP皮肤 dark-final :http://www.fvzone.com/blog/dark-final-to-wordpress.fv
这款皮肤很棒的,非常喜欢。
但是发现作者处理icon的方法有些原始:把那些小图标放到一个文件夹里,然后不同的class调用不同的ico图片。
如果用css spirit就可以省很多事情。
css spirit 的本质是通过定位调用某个图片的相应位置,也就是background:url(../images/icon2.png) mpx npx no-repet;m和n是相应的坐标。这样的话就可以把很多的小ico全部放到一个图片里面,这样有以下好处:
1、减少图片文件大小,经过测试,将多张图片集合可以将图片的总大小缩小好几倍。
2、减少数据请求,原来每加载一张小图,就会有一次数据请求,但是用了CSS spirit 使用该图片的所有class 只需要一次请求就够了
3、其它好处,比如减小CSS代码量,样式更容易管理等。
但是请注意,不要将repeat的图片和no-repeat的图片放到一起来,虽然这样基本不会有什么问题,但是目前来说,如果这样做的话,在Iphone中浏览页面会出现北京图片溢出的情况。
华仔在地震之后两个小时内就写出了《承诺》的歌词,这首歌是基于Beyond的《海阔天空》,我听了群星版的《承诺》。
歌词写的很棒,群星唱的也很动情,看得出来这次我们的偶像们为灾区做了很多很多,比国内的那些虚伪的企业和黑心的XX会好多少倍就不的而知了。
先不说这些了。
赞一下Andy、Eason Chan还有霆锋,特别是霆锋,现在爱死他了。
我也算是Beyond的fans了吧,从高中开始一直很喜欢家驹的歌。
其实我个人认为,Andy这个时候可以根据Amani来填词或许会比海阔天空更具感染力。
As you see, this is the first post of my site, I built this blog to gate a new start.
I like the new things, so I want to break my old road or method of processing things in my life and works.
So when I had the bbs of MuYeChenFeng(牧野晨风) ,and then turned to ChenFeng Blog and then Chenfeng Group, and at last it become in to digger (顶客网), a simpler website to share the value news.
But I’m not a person that like the new and hate the old,? the world is getting a head second by second, and so as my mind, I always have many new ideas and some of them is great I think but this blog may be used to be a show case of my ideas in my work.
By the way, thanks everyone who come here.
May be I will use English in some posts ,but please don’t afraid of it because I think only if you have pass the CET-4, you can understand them.