P
P
pavelkunyavskiy2018-02-17 16:04:02
HTML
pavelkunyavskiy, 2018-02-17 16:04:02

Which is more semantically correct - article in a, or a in article?

I want to make a list by sections with cards-links to specific articles. Just a card, it has a picture, article title, short description, publication time and author.
In this case, the task is to apply the article tag. Those. each card is an article.
How to combine link and article tag? Who is more correct to invest in terms of semantics, validation, etc.?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
dom1n1k, 2018-02-17
@dom1n1k

article > a

R
Roman Serkov, 2018-02-17
@Fobz

with such questions it is necessary to look in the spec .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question