Hi!
I started to learn html and css languages for create web sites. I'm using a Macbook but I didn't find an accessible application for exercise myself. I tried Xampp but it is completely inaccessible for Voiceover. There is someone who knows something else?
Thank you very much!
By Aurel Calin, 30 August, 2023
Forum
macOS and Mac Apps
Comments
You don't need a web server…
You don't need a web server for HTML / CSS exercising. However, if you want to make your pages accessible through localhost, for example, MAMP should work fine. It's the one I use for local PHP development.
Homebrew
If you are familiar and/or comfortable with Terminal, then this website has your back.
https://www.git-tower.com/blog/apache-on-macos/
HTH.
This might help
I wrote this web server article years ago. Some of the information might be helpful.
My home Apache web server runs on a Linux computer. I use Terminal to ssh into the Linux system, and manage Apache, PHP, MySQL, Wordpress, etc., primarily through the command line / shell interface.
@Manuel Why did you say that…
@Manuel
Why did you say that I don't need a server app for exercise HTML and CSS? How can I do differently?
Regarding Mama, I installed it and I create a folder TestHTML in the Sites/localhost/ folder with a index.html file with this content:
<!DOCTYPE html>
<html lang=“it”>
<head>
<title>MyHomePage</title>
<meta charset=“UTF-8”>
</head>
<body>
<div>
<main>
<h1>Pagina principale</h1>
<p>Questa e’ la mia pagina principale.</p>
</main>
<footer>
<p>Copyright - Aurelio - 2023</p>
</footer>
</div>
</body>
</html>
But, when I go to open it writhing this address:
localhost:8888/TestHTML
the page cannot be find.
Thank you for your help!
Typo?
Try adding an extra "/" after the "TestHTML" part? I could be wrong, but it appears like its just a matter of a typo.
HTH. 🤷🏻♂️
I did so but, it doesn't…
I did so but, it doesn't work.
Do you need a web server?
You only need a web server if you want one computer to serve HTML/CSS content to another computer. If you are developing and viewing HTML/CSS content locally, no web server is required. Simply put the full path and filename of the HTML file in your web browser / Safari address bar.