<html> <body> <h1>hi dude</h1><h2>whats happening</h2> </body> </html> Code (markup): How do I have the sentences in the 2 tags H1 and H2 to appear in the same line
You could do h1, h2 { display: inline; } Code (markup): but why would you? It would be an inappropriate use of a main header and a section header. cheers, gary