View Single Post
Old 05-04-2023, 06:46 PM   #150
slowsmile
Witchman
slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.slowsmile ought to be getting tired of karma fortunes by now.
 
Posts: 628
Karma: 788808
Join Date: May 2013
Location: Philippines
Device: Android S5
Just to be absolutely clear, when I say "empty span tags" I mean span tags that have nothing inside them -- no classes, style or any other attributes. Example below:

Code:
<h1 class="heading"><span>CHAPTER 1</span></h1>
Whereas "a naked span tag" I think refers to a span tag containing perhaps some attributes as well as text on it's own line in the html that is not surrounded by any other html tags. That's my understanding of "naked spans" anyway. As well, "naked spans" surrounding text or whatever can also contain classes and other attributes.

Generally, as a rule, I always try and avoid using both "empty span tags" and "naked span tags" in my own epubs. In most instances, empty spans serve no earthly purpose and naked spans alone and on their own line(and not surrounded by <div> tags) will always give you an error whenever you run FlightCrew or Epubcheck.

Last edited by slowsmile; 05-04-2023 at 07:24 PM.
slowsmile is offline   Reply With Quote