/    Sign up×
Community /Pin to ProfileBookmark

Double Underline on a word

Hi All

I’m trying to double underline a word in a document we are doing yet have no clue how to do this.

Can anyone who knows the way to write this in HTML please lend a hand? Thanks !

to post a comment
HTML

4 Comments(s)

Copy linkTweet thisAlerts:
@VladdyApr 28.2004 — HTML stands for HyperText Markup Language - it defines the structure of the document, not the way its particular elements are presented.

Presentation of HTML is defined by CSS (Cascading Style Sheet). Look up the border property.
Copy linkTweet thisAlerts:
@Robert_WellockApr 28.2004 — .zog {

border-bottom : medium double #00ff00;

}
Copy linkTweet thisAlerts:
@KNATOLIauthorApr 28.2004 — I'm only trying to underline 1 word in a sentence with double underlines. Those borders go around the word.
Copy linkTweet thisAlerts:
@ronaldb66Apr 29.2004 — Without seeing your styles and the way you applied them to the content it's still guessing, but the style Robert supplied should ony set the bottom border. To be sure no other border properties are set, append his example like so:
[CODE].zog {
[B]border: 0 none inherit;[/B]
border-bottom : medium double #00ff00;
}[/CODE]

The border shorthand property will first clear every border setting; next, the border-bottom shorthand property should only set the bottom border.

Apply these styles in the following manner (just a simple example):
[CODE]<p>This sentence contains a <span class="zog">double-underlined</span> word.</p>[/CODE]
×

Success!

Help @KNATOLI spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.20,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...