+ 5

Can a website be made using just html and JavaScript , without the use of css?

I am a little lazy so I was wondering if css is necessary needed in order to create a good website or I can use just html and JavaScript. thanks in advance!

8th Sep 2018, 8:11 PM
Dalila
Dalila - avatar
6 Respostas
+ 6
you just cant do without CSS to have a site with good user interface, html is just the structure of the website, javascript performs the fuctions you want in most cases while CSS is to give designs to the website think of it as the outer body of your phone.
8th Sep 2018, 8:22 PM
Cyril
Cyril - avatar
+ 3
you can replace CSS with HTML or JS: Example in JS; document.getElementById("mydiv").style.color = "blue" Example in HTML; <div id="mydiv" style="color:blue">Welcome</div> And you can use Nothing of it so you made a simple and good Website, CSS adds only graphics and styles.
8th Sep 2018, 9:30 PM
Sousou
Sousou - avatar
+ 2
Well, yes. Before CSS that was the way things worked. But those were old times, I would not sugest you to do that.
8th Sep 2018, 8:22 PM
Ulisses Cruz
Ulisses Cruz - avatar
+ 2
Depends on your definition of "good website" ... If for you a good website MUST have good layout and some graphics, then you cannot make a good website without css
8th Sep 2018, 8:55 PM
KrOW
KrOW - avatar
+ 2
Sousou Though you insert it in HTML/js you are using always CSS ... At this point i ask WHY i must not use it? 😉
8th Sep 2018, 9:50 PM
KrOW
KrOW - avatar
+ 2
We can even create a webpage with only JavaScript file. However JavaScript codes still need to inject HTML elements and CSS styles in order to make the webpage looks good.
8th Sep 2018, 11:56 PM
Calviղ
Calviղ - avatar