On the fourth lesson of Infocomm Studies, I learnt about CSS. It stands for Cascading Style Sheet. It helps to style a website like the background, the web format etc. The CSS are subdivided into three groups. They are internal, external and inline. Inline and internal styles are the same, just that Inline style is a very limited format. For our lesson, we concentrated on external style sheets. External Style sheets are separate documents from HTML. It enables us to link several HTMLs to one style sheet so that we do not have to repeat the process of designing the pages of the website. We need to link the external style sheet to the HTML by putting 'link rel=stylesheet type=style.css ahref=(file name).css'. The style sheet must be in the same folder as the HTML. CSS must start with a declaration. Example: !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN". For CSS, the terms ends with ' ; ' and { } For more detailed information,
visit: "http://www.w3schools.com/css/default.asp"
That is all I have learnt for my introduction to CSS. I am looking forward to future lessons...
Subscribe to:
Post Comments (Atom)

No comments:
Post a Comment