Talking to the browser

When we code in HTML, CSS, JS, etc. we are communicating to the browser. That’s what we do as web designers. We are telling the browser how to display content. The browser understands many different languages. It understands, HTML, CSS, JavaSript, XML, SVG and others. Each of those languages have their own syntax. For the browser to interpret the languages correctly we have to tell the browser which language we are using.

For example, when we link an external stylesheet, the browser is expecting to see only CSS characters in the .css file. We link it as <link rel="stylesheet" type="text/css" href="someFileName.css">. We are telling the browser that we are linking a file that has a relationship to the HTML file as a stylesheet and is using text characters that should be interpreted as CSS code. The browser is expecting something very specific. If you give it something other than what it is expecting, you will get errors.

The > character does exist in CSS, but it doesn’t mean the same thing as it does in HTML.

Published by

Dale

eLearning and Instructional Designer. Web Designer. Assistant Professor for the Multimedia Design Concentration at Nashville State Community College. Eleven years with Nashville State. Seven years as a corporate trainer, teaching CAD, design, and office applications. Developed Associate in Applied Science degree program in Multimedia Design and teach web-standards, Flash, html, CSS, web animation, and design courses. Teach in both classroom and online environments. Education: M.Ed. in eLearning Technology and Design B.S. in Mechanical Drafting and Design Technology