Monday, 12 December 2016

P1 (How HTML files access CSS)

P1

Introduction
In this assignment, I will be explaining what HTML is as well as what CSS is. Every website, when it is produced, the developer needs to decide the format the website is in so they can code accordingly. CSS and HTML are two examples of the languages a website can be produced in and they often work in conjunction with each other. I will also be comparing both, HTML and CSS and explain how they work in conjunction.

HTML
HTML stands for Hypertext Markup Language which is a computer language that allows the developer to create a website which suits the requirements. HTML is highly customisable as the website is made from scratch by the developer. This is one of the most powerful tools of creating a website. HTML often works in conjunction with CSS or Javascript. These HTML websites, once they are completed, they are uploaded to web servers with a domain name and when the user requests for the website, they HTML website is sent back to them. HTML is one of the most common ways to create a website because it is highly customisable and as well as not very time consuming, a small website can be made in one sitting.

CSS
CSS stands for Cascading Style Sheets. This is a style sheet language which describes how a website is either stylised or presented. This language is usually worked in conjunction with a markup language because this requires external code in order to help it recognise what is the stuff it is stylising. CSS allows various different ways to present the website including fonts, layouts and colours. It also allows the developer to open support for devices with small screens like smartphones and tablets. CSS allows web developers to create style sheets which can then be used on multiple web pages. This is a very good tool when a business requires their website to look identical in all of their webpages allowing a uniform look to the whole website. This is a very useful tool to making large websites with a lot of pages because it allows the developer to keep the code simple and organised. This is less time consuming as well because the developer only has to code once for an object which can then be used twice or more and the developer will not have to recode it.


Compare and contrast (How HTML and CSS work together?)
When a website is being created, it would start off with HTML which is the format most websites use if you view their code. However, every website needs to be presented properly and styled in order to make it eye catching and as well as make it looked organised. CSS is the backbone to the website's design and presentation. CSS makes the website look more presentable and in a business situation, they require everything up to mark including the presentation of the website. CSS uses style sheets which is then implemented in the HTML code. CSS has a new version which is the third version and is not fully supported by all web browsers, although it does add a lot of new features and improvements. CSS is a way the developer would like to present their website, but depending on the website, if it is a small websites, it isn't the greatest idea to use CSS with HTML as it will be more time consuming than just coding it with HTML. However, if the website contains a lot of web pages, it is essential to use CSS as it allows the developer to style once and code the HTML in conjunction which is much more time efficient than individually presenting it in HTML.

References
http://www.w3schools.com/css/css_intro.asp
https://www.w3.org/standards/webdesign/htmlcss
http://www.w3schools.com/html/html_intro.asp
https://www.w3.org/Style/Examples/011/firstcss.en.html


No comments:

Post a Comment