Build a website

Hello developers!

I have a question about which programming language is good for building a website. I searched on the internet and it says that CSS and HTML are the most used, so suppose I want to use CSS, now the question is: where can I code to build the website? For example if I want to code in SwiftUI there are some apps (Xcode and Swift Playgrounds) to do it, but how can I do with the website in CSS?
And what is the WebKit, can I still use it to build web pages using SwiftUI?
If someone has the right answer, please help me.

Thanks.

Hi, Balvir,

HTML is the primary language used to define a web page's contents. Every web page is written in HTML.

CSS is a secondary language which is used to specify how the contents are styled and displayed. Web pages don't have to use CSS, but a web page that doesn't use CSS will appear similar to a common text document, with default fonts and colors.

WebKit is the rendering engine built into Safari and some other browsers. Its job is to read HTML and CSS and properly display the web pages they define.

You don't need Xcode or Swift Playgrounds to make a web page, because HTML and CSS don't have to be compiled. You can even write a web page in TextEdit, save the file as an HTML file, and open it using Safari. Here's an example of a simple web page written in HTML:

<!DOCTYPE HTML>

<html>

  <head>
    <title>The best web page!</title>
  </head>

  <body>
    <p>This is a great web page.</p>
  </body>

</html>

I suggest searching for tutorials on writing your first web page. There are lots!

Thanks @Starfia.
So can I still use the TextEdit for building a complex website (with animations, images, videos, etc.) and no need to go on Google and write for an app to build the page? And can you tell me how to run it with the browser?
Then how can I put this website on the Internet?

Sorry for too many questions, but this thing is new to me.
Thanks (again).

Build a website
 
 
Q