Front-End dev here, forgive me if this has already been asked before. When coding HTML/CSS from a sketch design is there a way to identify what kind of html element corresponds to the sketch component?
When I export to HTML using Anima or similar, it makes almost everything a <div>
element. Some sketch components are self evident, such as links <a>
, <images>
, <button>
etc. When it comes to text for instance, is there any way to tell if it's a <div>
, <span>
, <p>
element, etc etc? Do I just need to use my judgement in this case?
Any guidance on this would be welcome. Thanks!