After I finished my homepage I moved to the next pages where I used a grid system to include 4 images near each other and I also included some dropdown buttons.
After I did the plan I started coding and I started by doing the homepage. The first thing that I included in my homepage was the logo on the left top corner and then I continued building my page by adding the navigation bar. Logo code Navigation bar In my homepage I also included some images and then I included the footer. Images code
In our first lesson, we were taught the difference between HTML and CSS. HTML is the layout of a website with a Header, Body and Footer. < !DOCTYPE html > < html > < head > < title > Page Title < /title > < /head > < body > < h1 > This is a Heading < /h1 > < p > This is a paragraph. < /p > < /body > < /html > CSS includes the colour, margins and typefaces. An external style sheet is used to define the style of the HTML pages this is usually done by linking the HTML with the CSS by using this code; < !DOCTYPE html > < html > < head > < link rel ="stylesheet" href ="styles.css" > < /head > < body > < h1 > This is a heading < /h1 > < p > This is a paragraph. < /p > < /body > < /html > We also learned how to input an image and how to change the font style.
Comments
Post a Comment