I have made this demo naviagtion bar: http://www.plaxon.org/
But when you go to the gopher patches page, the text shows up beside the naviagtion blocks. How do I stop this?
Offline
Actually it's better to use <p> tags to enclose lines/paragraphs.
Just use <p> before the line and </p> after it. Also useful for defining CSS styles later on.
Offline
LS97 wrote:
Actually it's better to use <p> tags to enclose lines/paragraphs.
Just use <p> before the line and </p> after it. Also useful for defining CSS styles later on.
div are better
Offline
kimmy123 - No problem! everyone learns first
(so do I ofcourse, every day
)
It has been a habit years back to use html elements for stuff they aren't made for. For example, people (including me when I was 11 :p) nested many <table>s to design a layout.
Now, it has been accepted as a standard on the web that your html file should only contain tags that describe the actual content of the page, and no styling. A <table> is for tables, not for styling. <font> tags are absolutely to be avoided too, because what font a text displays in has to do with styling, not with actual content.
All neat designs around the web use this 'standard', and put everything related to the look of the page into a different .css file. This file is then included on every page of a website.
It's a good practice, also when you just started learning HTML. It makes stuff soooooo much easier to change after a while.
Offline
JSO wrote:
kimmy123 - No problem! everyone learns first
(so do I ofcourse, every day
)
It has been a habit years back to use html elements for stuff they aren't made for. For example, people (including me when I was 11 :p) nested many <table>s to design a layout.
Now, it has been accepted as a standard on the web that your html file should only contain tags that describe the actual content of the page, and no styling. A <table> is for tables, not for styling. <font> tags are absolutely to be avoided too, because what font a text displays in has to do with styling, not with actual content.
All neat designs around the web use this 'standard', and put everything related to the look of the page into a different .css file. This file is then included on every page of a website.
It's a good practice, also when you just started learning HTML. It makes stuff soooooo much easier to change after a while.
I just started learning HTML yesterday
Offline
WindowsExplorer wrote:
I just started learning HTML yesterday
![]()
Cool
So (again), w3schools.com is the perfect place to start!
Offline
JSO wrote:
WindowsExplorer wrote:
I just started learning HTML yesterday
![]()
Cool
So (again), w3schools.com is the perfect place to start!
Yup! I tried to learn HTML about a year ago... and failed! I use w3schools now, and it's great!
Offline