I have a problem when I want to use my HTML file and display a photo. I am using IntelliJ IDEA and have created a Java business project with Gradle. Do you know why the image and my CSS file are not taken into account?
p{ background-color: red; }
<!DOCTYPE html> <html> <head> <link rel="stylesheet" type="text/css" href="styles.css"> <style> .text { color: blue; } </style> <title>SenseenWeb</title> </head> <body> <h1><%= "Hello World!" %> <img src="logo.png" alt=""/> </h1> <br/> <p class="text"> <a href="hello-servlet">Hello Servlet </a> </body> </html>
1.4m articles
1.4m replys
5 comments
56.9k users