I am currently working on a project to replicate the layout of the Google homepage using HTML. The main challenge I am facing is with the footer section, specifically in displaying two separate lists of links aligned differently on the same line. Despite numerous attempts, I have not been able to accomplish both tasks at once:
- Creating two lists: one aligned left and the other right
- Displaying both lists on the same line
Here is an excerpt from my current HTML file focusing on the code within the footer tag:
<!DOCTYPE html>
<html>
...
</footer>
</body>
</html>
The CSS styling relevant to this issue is as follows:
ul{
list-style-type: none;
margin: 0;
padding: 0;
text-align: right;
}
...