1. Yes they can and very simply. Heading tags (h1, h2, etc.) are block level elements and as such, cause the line break. By changing the default display of those elements to inline, you will have the solution to your question:
HTML Code:
h1 {
display: inline;
}
2. The same way you would style any other element using CSS.