This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • 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
Header Format
[Thumbnail for header.png]
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64683
86
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: 64683
86
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