Quote:
Originally Posted by Sarmat89
blockquotes are indented by default, divs are not, so blockquote is the reasonable choice.
|
Definitely a “no” on that reasoning.
1. You should not make choices of html tags based on the way it
looks, but by what the tag is meant to define:
Use a <p> to define a paragraph
Use a <table> to define a table
Use a <blockquote> to define a long quote
Use a <div> to define a section of html that should be treated separately from surrounding html.
Etc.
Technically you could use a <div> to define EVERYTHING in your html but it would not be semantically correct. Devices/apps may not function correctly if they can’t distinguish the <tags> properly.
2. Never rely on some “default” behavior - always explicitly define the presentation you want to see in your attached css stylesheet. It’s difficult to find devices/apps that consistently follow the published standards let alone some nebulous, undefined, “default”.
You need to define how much of an indent you want, does that indent apply to just the first line or the whole section, does the indent vary when the user changes the font size or is it a fixed distance, is the indent measured from the parent container’s border or is it from the edge of the screen.