Hi!
Long time no see. This time I am going to introduce HTML. So Now I am going to
teach you to make sections with ordered tags. For example, like this.
In order to
do like this we should use some CSS
and also create multiple pages! Now let’s start!
1 Now make the base of the page in notepad and save it.
2 Copy this
and make 3 or 4 files and save it.
3 Now fill
your html pages with contents.
4 After you
filled your contents in the webpage according to what you want, start the style
tag inside the head tags to write CSS
in all of your sub pages and page.
5 If you are
familiar with ordered lists you can do like this. First, start the ul tags and add the link of our
subpages. We should write the path of our subpages in the href attribute.
6 Start
writing CSS inside the style tags.
Start with the ul tags. We need to
specify the background color, overflow, padding and margin and style type. Next,
inside the li {} write float: left; . Then inside the li a {} tags specify the display which
is block certainly. Also specify color, text align to center, padding and text
decoration.
7 Now copy
the CSS codes to subpages so that we can go to the main page or sub pages when
in a subpage. If you got it right it should be at least like this.
Hope
everyone understood. If there are any doubts please comment and if you liked
this please share. Bye.






Comments
Post a Comment