我需要达成共识(HTML - CSS) [英] I need a consensus (HTML - CSS)

查看:56
本文介绍了我需要达成共识(HTML - CSS)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试学习HTML并且已经获得了几本关于

主题的书籍。然而,我对正确的解决方法感到困惑

因为这些书中的大部分给了我基本的标签,然后说他们将很快弃用
并建议使用CSS样式表。哪个先来?

我是否学习旧标签,然后升级?到CSS或只是绕过

旧标签,只学习CSS程序。难道没有人能够理解使用新标签的旧标签吗?


此外,还有很多关于如何构建的书籍和在线示例web
使用HTML的
页面。

还有很多书籍和在线示例如何创建CSS样式表。但是,我还没有看到任何关于

如何使用ONLY CSS样式表开始创建网站的书籍而不使用

不赞成&代码。


洞察任何人?


(删除下面电子邮件中的.1354XT)

SI ****************** @康卡斯特.net

I am trying to learn HTML and have obtained several books on the
subject. However, I am confused with the proper way of going about it
as most of these books give me the basic tags and then say they will
soon be deprecated and advise using CSS stylesheets. Which comes first?
Do I learn the old tags and then "upgrade" to CSS or just bypass the
old tags and learn only the CSS procedures. Doesn''t one have to
understand the old tags to use the new?

Also, there are plenty of books and online examples on how to build web
pages using HTML. There are also plenty of books and online examples on
how to create CSS stylesheets. But, I have yet to see any books on how
to begin creating a website using ONLY CSS stylesheets without using
the "deprecated" code.

Insight anyone?

(Remove the .1354XT in the email below)

si******************@comcast.net

推荐答案

sonnystarks写道:
sonnystarks wrote:
我正在尝试学习HTML并且有获得了几本关于
主题的书。然而,我对正确的解决方法感到困惑
因为大多数这些书都给了我基本的标签,然后说它们很快就会被弃用并建议使用CSS样式表。首先是什么?
我是否学习旧标签,然后升级?到CSS或只是绕过
旧标签,只学习CSS程序。难道没有人必须了解使用新标签的旧标签吗?


您需要区分两件事:结构和演示。所有关于构建文本的HTML都是HTML:标记列表,标题,链接等。

CSS是关于这些东西的样子:使用钻石作为列表标记,

以另一种字体显示标题,并使超链接变为粉红色,如果你想要b $ b b希望。


标签即将被删除的评论仅适用于那些首先应该从未成为HTML的一部分的标签,因为

他们是关于演示而不是结构:< font>, <中心],[等等


创建你的HTML,使其在没有任何样式的情况下看起来可以接受

。然后使用CSS添加样式。

但是,我还没有看到任何关于如何使用ONLY CSS样式表开始创建网站的书籍而不使用
不赞成&代码。
I am trying to learn HTML and have obtained several books on the
subject. However, I am confused with the proper way of going about it
as most of these books give me the basic tags and then say they will
soon be deprecated and advise using CSS stylesheets. Which comes first?
Do I learn the old tags and then "upgrade" to CSS or just bypass the
old tags and learn only the CSS procedures. Doesn''t one have to
understand the old tags to use the new?
You need to distinguish two things: structure and presentation. HTML is
all about structuring your text: marking up lists, headers, links, etc.
CSS is about the way these things look: using diamonds as list markers,
displaying headers in another font, and making hyperlinks pink, if you
wish.

The remark that tags will soon be deprectaed only applies to those tags
that should never have been part of HTML in the first place, since
they''re about presentation rather that structure: <font>, <center> etc.

Author your HTML such that it looks acceptable without any styles
applied. Then add styling with CSS.
But, I have yet to see any books on how
to begin creating a website using ONLY CSS stylesheets without using
the "deprecated" code.




这是因为你不能只用CSS写一个网站。 CSS用于

造型,如果没有什么风格,你就没有网站。 CSS确实

不能取代HTML,它只是帮助你让你的页面看起来(或者声音好b / b
,或者在遥远的未来,感觉)很好。


-

Garmt de Vries。



That''s because you can''t write a site with only CSS. CSS is for
styling, and if there''s nothing to style, you have no website. CSS does
not supersede HTML, it merely helps you make your pages look (or sound
or, in the remote future, feel) nice.

--
Garmt de Vries.


sonnystarks写道:
sonnystarks wrote:
我正在尝试学习HTML并获得了几本关于
主题的书籍。然而,我对正确的解决方法感到困惑
因为大多数这些书都给了我基本的标签,然后说它们很快就会被弃用并建议使用CSS样式表。首先是什么?
我是否学习旧标签,然后升级?到CSS或只是绕过
旧标签,只学习CSS程序。难道没有人必须了解使用新标签的旧标签吗?


你需要html(xhtml还没有真正的主流 - 最好的左)。

我会建议理想的4.01严格,或4.01过渡如果&安培;当你感觉到b / b
时。使用完整的doctype

http: //www.htmlhelp.com/tools/validator/doctype.html) ,因为大多数浏览器

使用它来决定是否以标准或怪癖模式渲染 - 怪癖
最好避免使用
模式。

对于样式,你需要CSS。

此外,还有很多关于如何构建web的书籍和在线示例使用HTML的页面。
如何创建CSS样式表还有很多书籍和在线示例。但是,我还没有看到关于如何使用ONLY CSS样式表开始创建网站的任何书籍,而不使用
不赞成和代码。

洞察任何人?
I am trying to learn HTML and have obtained several books on the
subject. However, I am confused with the proper way of going about it
as most of these books give me the basic tags and then say they will
soon be deprecated and advise using CSS stylesheets. Which comes first?
Do I learn the old tags and then "upgrade" to CSS or just bypass the
old tags and learn only the CSS procedures. Doesn''t one have to
understand the old tags to use the new?
You need html (xhtml isn''t really mainstream yet - best left).
I''d recommend 4.01 strict ideally, or 4.01 transitional if & when you
feel the need. Use a full doctype
(http://www.htmlhelp.com/tools/validator/doctype.html), as most browsers
use this to decide whether to render in standard or quirks mode - quirks
mode is best avoided.
For styling, you need css.
Also, there are plenty of books and online examples on how to build web
pages using HTML. There are also plenty of books and online examples on
how to create CSS stylesheets. But, I have yet to see any books on how
to begin creating a website using ONLY CSS stylesheets without using
the "deprecated" code.

Insight anyone?




随着时间的推移测试(mozilla或firefox对此有好处,因为他们是

还使用各种验证器验证你的html和css:
http://validator.w3.org/
http://www.htmlhelp.com/tools/validator/

当它有效,美观,完整时,然后尝试其他浏览器

你想支持 - 大多数应该没有任何问题的有效代码。

那些做的是:

所有版本的Internet Explorer(可能是你的大多数访问者),

netscape4(值得争论的是多少支持努力)。

safari可能会遇到动态页面问题(javascript)。


离开最流行的浏览器可能看起来很古怪

结束了,但是因为每个版本都有自己的怪癖,所以很容易让各种各样的复杂功能陷入困境,并最终陷入困境。

除了资源管理器外无处可去(这是微软的总体规划吗? ;)。

最好建立一个完全符合标准的页面,然后根据需要稍微调整一下
。如果您遇到问题,这个小组将很乐意提供帮助。

如果您走另一条路,从资源管理器开始,您将开始工作<对你自己来说是
,并且在这里不会得到很多同情。


这些天netscape4相对较少 - 你可能会认为你不是< b / b b b b b b b b b b b b or or or or or or or or or or or or or or or or or or or or or or or or or or or or or or or or or or or or or or or or or or or or or or or or or or or or or or or or or or再次

虽然,你必须在每次改变后进行测试 - 用一行css打破它很容易打破它b / b
,所以它什么都没显示。目标

应该是优雅退化。 - 以可读的

形式显示内容,而不必担心它非常漂亮。


表 - 适用于呈现表格信息。它们不是用于定位页面上每个像素的
- 那是'演示文稿,

而且它是由css完成的。


Chris



Test as you go along (mozilla or firefox is good for this, as they''re
fairly standards compliant).
Also validate your html and css using the various validators:
http://validator.w3.org/
http://www.htmlhelp.com/tools/validator/
When it''s valid, good-looking, and complete, then try other browsers
you''d like to support - most shouldn''t have any trouble with valid code.
Those that do are:
all versions of internet explorer (probably most of your visitors),
netscape4 (debatable how much support effort is worthwhile).
safari can have problems with dynamic pages (javascript).

It may seem eccentric to leave the most popular browser out until the
end, but because every version has its own quirks, it''s easy to get
bogged down in all kinds of complications, and wind up with a page that
works nowhere except explorer (is this the microsoft master plan? ;).
Best to build a completely standards compliant page, and then tweak
slightly as necessary. If you have problems with that, this group will
be happy to help.
If you go the other way, starting with explorer, you''ll be making work
for yourself, and won''t get a lot of sympathy here.

netscape4 is relatively rare these days - you may decide you''re not
willing to bother with it at all, or you may use a css hiding technique
(use google to find these) to hide some or all css from it. Again
though, you must test after every change - it''s very easy to break it
with a single line of css, so it displays nothing at all. The goal
should be "graceful degradation" - to display the content in readable
form without worrying about making it perfectly pretty.

Tables - are good for presenting tabular information. They''re not
intended for positioning every pixel on your page - that''s presentation,
and it''s done by css.

Chris


sonnystarks写道:
sonnystarks wrote:
我正在尝试学习HTML并获得了几本关于
主题。然而,我对正确的解决方法感到困惑
因为大多数这些书都给了我基本的标签,然后说它们很快就会被弃用并建议使用CSS样式表。首先是什么?
我是否学习旧标签,然后升级?到CSS或只是绕过
旧标签,只学习CSS程序。难道没有人必须了解使用新标签的旧标签吗?

此外,还有很多关于如何使用HTML构建网页的书籍和在线示例。
如何创建CSS样式表还有很多书籍和在线示例。但是,我还没有看到关于如何使用ONLY CSS样式表开始创建网站的任何书籍,而不使用
不赞成和代码。

洞察任何人?
I am trying to learn HTML and have obtained several books on the
subject. However, I am confused with the proper way of going about it
as most of these books give me the basic tags and then say they will
soon be deprecated and advise using CSS stylesheets. Which comes first?
Do I learn the old tags and then "upgrade" to CSS or just bypass the
old tags and learn only the CSS procedures. Doesn''t one have to
understand the old tags to use the new?

Also, there are plenty of books and online examples on how to build web
pages using HTML. There are also plenty of books and online examples on
how to create CSS stylesheets. But, I have yet to see any books on how
to begin creating a website using ONLY CSS stylesheets without using
the "deprecated" code.

Insight anyone?




我在你的消息中找不到任何扩展你声称的内容

你需要达成共识。在Usenet上你不太可能找到共识




I can''t find anything in your message that expands on your claim that
you need a consensus. A consensus is something you''re not likely to find
on Usenet!


这篇关于我需要达成共识(HTML - CSS)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆