Look at this sample code:
<article>
<div>
<ul>
<li>
</li>
<li>
</li>
<li>
</li>
<li>
</li>
</ul>
In my code within each li has some h4 and img, as you can see there is 4 li within the ul, these 4 li is the image row with horizontal text. For each row are 4 images with text within 4 li that is within 1 ul, ie for each row is an ul with 4 li inside. My site is a news site.
I have a part on the site that is called "Latest news". Every time I add new news I have to copy and paste the text from above that is inside the li, below, so that the new news that I add is on top, understand?
So I wanted to know how I do it so that whenever I add the "new news", it will be at the top of the page, being the first news of the row.
If I did not explain my problem, just tell me.
Note: If possible I would like to know how to solve this in HTML or CSS, and at the moment they are the only language I know. If it is not possible to do this with HTML or CSS, then I would like you to tell me in which programming language this would be possible.