HI all, I was wondering if it is legal to have a span tag inside a legend, something like this <legend>This is my<span>legend</span></legend>
Can't quite work out whether legend is a block element or inline
thanks
Violet_82
89
Posting Whiz in Training
Recommended Answers
Jump to PostFor completeness, the HTML5 docs allow "Phrasing content" as children of
<legend>
. Thespan
tag is
All 4 Replies
JorgeM
958
Problem Solver
Team Colleague
Featured Poster
Violet_82
89
Posting Whiz in Training
EvolutionFallen
107
Junior Poster
Violet_82
89
Posting Whiz in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.