• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Header in HTML

 
sana shah
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to put a header on my HTMLl page in the attached format.

How can I achieve this using Pure HTML?
header.png
[Thumbnail for header.png]
Header Format
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65129
92
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can't with "pure" HTML; you'll need CSS too.

Where's your code so far?
 
sana shah
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you please provide the css code for the same.

<h2> Welcome </h2>

.h1{
font: 14px Verdana;
color: #CC3333;
font-weight: bold;
}

I dont have an idea about how to draw a line around header.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65129
92
IntelliJ IDE Java jQuery Mac Mac OS X
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That's not how things work here. We'll help you with code but won't do your work for you. What have you considered doing to achieve the horizontal line?

Hint: one way lines are achieved by using variants of border.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic