Issue
When generating an HTML document in yattag
, how do you add a line break (<br/>
)?
Solution
You could use doc.stag('br')
since the stag
method produces a self closing tag. You'll get <br />
Answered By - John Smith Optional
When generating an HTML document in yattag
, how do you add a line break (<br/>
)?
You could use doc.stag('br')
since the stag
method produces a self closing tag. You'll get <br />
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.