Hi
I would like to display h1 as "Hello world"
and I want to display this character ">" to the right of "Hello world"
I tried this:
H1 is a block element. By default, block elements appear below previous block elements.
Why not put everything in the same H1 element?
Hi Darin
Yes I could do that .... but for curiosity’s sakes how would we do that ..... for example what if my tags were different and I have a h1 and h2 and I want them one next to each other?
I just started today so I don’t know anything !!!!
Thanks for replying !
You could float them both left.
How ? What do you mean by I can float them both?
Can you give an example
my friend?
Mah what’s the difference between HTML and CSS ????
Confused !
HTML is for creating basic functionality (links, forms, embedding images, etc) and to assign semantic meaning to content (such as indicating that some text is meant to be a heading).
CSS is just for styling or decorating the HTML. For example, CSS can make a link look like ordinary text, but it would still be a link (just harder to find by the user).
Ok thanks
So what is the code in Hrml if I want to display two pieces of
Text one next to each other like this
HOME >
And can’t be the same h1 tag because HOME can change and the > can change! So I want them separate !
Thanks
What has that something might change to do with that you need them to be separate elements? Are you really going the have the word HOME and a > or are they placeholders for something else?
Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)