P. Ricardo• 2,370
@pRicard0
Posted
Algumas dicas HTML.
- Evita usar a tag
<span>
sempre que possível. Ela não é semântica. - Ao invés de utilizar a tag
<header>
para todo o cartão, você poderia utilizar a tag<main>
- Não utilize atributo alt para imagens meramente ilustrativa como é o caso da maioria dos svg. Deixa o atributo alt vazio.
- Ao invés de utilizar a tag
<span>
para conter o nome do cara, ali se encaixaria melhor a tag<a>
por conta que provavelmente é uma âncora que direcionaria para outro lugar. É recomendado que também estilize usando pseudoclasses como :hover
Uma dica CSS.
- É recomendado que a borda se aproxime mais do design original. Você pode fazer isso botando
border-top: 1px;
na hr. ( Você não pode botar border: 1px; por que vai somar 1px do top e 1px do bottom )
Marked as helpful
1