HTML files access to CSS
In this post, I will be explaining how HTML files are used to access CSS. Both are used together to make most of the webpages on the internet today.
HTML
HTML (Hyper Text Markup Langauge) is used to create and show information for a webpage. HTML is used to format the style of a webpage, things such as headings, paragraphs, links and more. This is done using using tags for example <p> </p>. This stands for paragraph, and anything typed inbetween the two tags are displayed on the webpage as a paragraph. HTML is used to construct the main layout of a webpage.
HTML
HTML (Hyper Text Markup Langauge) is used to create and show information for a webpage. HTML is used to format the style of a webpage, things such as headings, paragraphs, links and more. This is done using using tags for example <p> </p>. This stands for paragraph, and anything typed inbetween the two tags are displayed on the webpage as a paragraph. HTML is used to construct the main layout of a webpage.
CSS
CSS stands for Cascading Styles Sheets. The purpose of CSS is to change the style and presentation of an HTML file, such as changing the overall look of the webpage. CSS also add the visual effect such as colours in a website. It is really when using CSS as it make websites stand out more from the websites. Here is an example of CSS code in a style.css file.
h1
{ color:red; }
The code above shows that heading 1 should be the colour red because of what is written between the brackets and next to the semi colon.
h1
{ color:red; }
The code above shows that heading 1 should be the colour red because of what is written between the brackets and next to the semi colon.
Compare and Contrast
The best method of HTML accessing CSS is via a style.css sheet. This in Komodo Edit where the a style sheet is created and CSS coding in inputted. From there it is opened with the HTML fle which contains all of the written data such as paragraphs, headings, pictures etc.
No comments:
Post a Comment