/    Sign up×
Community /Pin to ProfileBookmark

Replaced Elements

Can someone give me list of replaced elements please? I’m thinking something like <applet>, <button>, <img>, <input>, <object> & <select>

to post a comment
HTML

7 Comments(s)

Copy linkTweet thisAlerts:
@CharlesDec 02.2002 — [font=georgia]I'm not sure what you mean by "replaced elements".[/font]
Copy linkTweet thisAlerts:
@Robert_WellockDec 02.2002 — How I understand it replaced elements are just that, for example a image file will replace the code: <img src="" alt="" /> I think you've got most of them.

An element for which the CSS formatter knows only the intrinsic dimensions. In HTML, IMG, INPUT, TEXTAREA, SELECT, and OBJECT elements can be examples of replaced elements. For example, the content of the IMG element is often replaced by the image that the "src" attribute designates. CSS does not define how the intrinsic dimensions are found[/QUOTE]
Copy linkTweet thisAlerts:
@Rick_BullauthorDec 02.2002 — Thanks for the quote Rob, I thought it was in a spec, but I was looking in the HTML 4.01, not the CSS one. I was wondering whether <br /> and <hr /> are also replaced elements. I don't think they are.
Copy linkTweet thisAlerts:
@StefanDec 02.2002 — [i]Originally posted by Rick Bull [/i]

I was wondering whether <br /> and <hr /> are also replaced elements. I don't think they are. [/B][/QUOTE]


Hmm, I would think that they are actually.

<hr> certainly is replaced by a line and <br> could be considered to be replaced by a row break char I guess.
Copy linkTweet thisAlerts:
@Rick_BullauthorDec 03.2002 — Ah OK. I'm surprised it's not in the HTML 4.01 spec actually (unless it is and I'm missing something ?)
Copy linkTweet thisAlerts:
@StefanDec 03.2002 — Yepp, it's a bit weird.

Even more weird is that I just bumped into this link without even looking for it

http://archivist.incutio.com/css-discuss/?id=3464


[i]Eric Meyer[/i]

The <br> element has long been a source of

mystery. What exactly is it? Does it generate an element box, or is

it simply replaced by a linefeed entity? Does it create a line box?

Nobody really knows (although plenty of people have offered their own

interpretations). [/QUOTE]
Copy linkTweet thisAlerts:
@Rick_BullauthorDec 03.2002 — ? Maybe I should write the the W3C and ask for some clarification :p
×

Success!

Help @Rick_Bull 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 6.17,
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: @nearjob,
tipped: article
amount: 1000 SATS,

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

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...