+ 1
How can I save my css and Java code n use it in html.
How can I save my css and Java code n use it in html by using it's link
3 Antworten
+ 1
If this is for Sololearn's Code Playground, there is an HTML, CSS, and JS tab for each language. Sololearn's Code Playground connects them all together.
If you have JS or CSS hosted on another site, you could do like my previous answer.
+ 1
It sounds like you're confusing Java with JavaScript.
HTML can include external CSS using the link tag. For example:
<link rel="stylesheet" href="mystyle.css">
More details are at: https://www.w3schools.com/CSS/css_howto.asp
HTML can include external JavaScript using the script tag. The same tag you use for internal JavaScript.
<script src="myscripts.js"></script>
More details are:
https://www.w3schools.com/TAGS/att_script_src.asp
JavaScript fits with your question far better despite you writing Java. Java can't be directly included with CSS or run in HTML. You could run Java on the server, though. 15 or more years ago, you might include a Java applet but that would be fit only for a museum now.
0
Oh it seems like you r getting wrong I m looking how to insert my css n js file in sololearn.im gettin trouble in this. Please let me know if you gettin this time
N thanks for helping me..