官术网_书友最值得收藏!

The role of HTML and CSS

If you spend time developing websites for clients, it is likely that you will have used both HTML and CSS to create your masterpiece.

HTML, created in 1990, has been the de facto standard for placing content on a web page. Over the years, it has evolved into what we now know as HTML5, which we can use to produce some very detailed websites or online applications. To use a cooking analogy, HTML is effectively the creation of the cake base; it is content that makes sense to any Internet browser. HTML forms the base of any website available on the Internet—it won't look very exciting, but it will have all the elements you need, such as headings, paragraphs, and images, to produce well-formed pages. Well-formed pages are made up of two elements: accessibility and validation.

Accessibility is the equivalent of building a new house, where we can add ramps or make doorways wider than normal to make it accessible for everyone. Basic accessibility isn't difficult or complex, but it must become a part of the development process; when left to its own devices, it will make it harder to move around the house, for those who need extra help to do so! In tandem with accessibility comes validation, which is very much like the Physics of cooking; if we work within the rules of validation, we can produce a masterpiece, while working outside of best practices is likely to lead to disaster.

It would be hard to produce a website without some form of decoration though; using HTML alone won't produce a very exciting effect! It's for this reason that we employ CSS to add final touches to our website, where we can tweak the positioning, add animation, or alter the colors of the elements on the page. Just as you can't build a house without cement, you can't produce a website without using CSS at some point in its creation.

Using CSS does not come without its limitations though—as it has evolved over the years, the support for its functionality has changed. One can argue that it has come a long way since its incarnation back in 1996, but at its very heart, it will always suffer from some core deficiencies. Let's take a look at these in more detail.

主站蜘蛛池模板: 延寿县| 武威市| 尖扎县| 永新县| 祁阳县| 合水县| 姚安县| 临泽县| 安多县| 玉树县| 若尔盖县| 定日县| 德保县| 黔西县| 福建省| 普洱| 精河县| 扎囊县| 台南县| 静乐县| 黑山县| 永吉县| 凤翔县| 宜川县| 仁化县| 梧州市| 泰兴市| 融水| 馆陶县| 宁远县| 广元市| 靖州| 邳州市| 广东省| 凤翔县| 新疆| 呼和浩特市| 辉南县| 六安市| 海安县| 喀喇沁旗|