Embarking on your web development journey? Look no further than Neocities, a free, user-friendly platform that lets you create and host personal websites using HTML. This tutorial will guide you through the process of creating a simple, stylish website on Neocities using HTML.

Whether you're a seasoned developer or just starting out, Neocities offers a clean, distraction-free environment to hone your web design skills. By the end of this tutorial, you'll have a basic understanding of HTML and a stunning new online portfolio to show off your coding chops.

Setting Up Your Neocities Account and Site
Before we dive into the HTML, let's get your Neocities site set up. Sign up for a free account at neocities.org, then click the "Create a new site" button. Name your site (e.g., yourname.neocities.org) and choose a template to get started.

Once your site is created, click the "Edit" button to open the Neocities editor. Here, you'll find a simple, intuitive interface to create and manage your website's files.
Understanding the Neocities File Structure

In the Neocities editor, you'll see a list of files and folders. The main file, where you'll spend most of your time, is index.html. This is the default file that browsers load when visiting your website. Open it to view its basic HTML structure.
The <head> section contains meta-information about your document, while the <body> section holds the main content. Don't worry if it looks intimidating; by the end of this tutorial, you'll be writing HTML like a pro.
Updating Your Site's Title and Meta Description

First, let's update your site's title and meta description. Find the line that says <title>New Site</title> and replace "New Site" with your desired title. For example, <title>My Personal Website</title>.
Next, locate the <meta name="description" content="Replace this with a description of your site."> line and replace the content with a short, engaging description of your site. This description will appear in search engine results.
Building Your Site's Structure with HTML

Now that you've got the basics down, let's start building your site's structure using HTML. The most basic structure of an HTML document includes the <head> and <body> sections, along with various other elements like <header>, <nav>, <main>, <section>, <aside>, and <footer>.
For this tutorial, we'll keep it simple and use only the essential elements: <header>, <nav>, <main>, and <footer>. Each of these elements will serve a specific purpose on your website:


















Creating the Header
The <header> element will contain your site's logo or branding. Replace any existing content in the <body> section with the following code:
```html
Your Name
```
Setting Up the Main Content Area
Next, add the <main> element to contain the primary content of your website. Below the </header> tag, paste the following code:
```html
About Me
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer nec odio. Praesent libero.
My Skills
- HTML
- CSS
- JavaScript
- Responsive Design
```
Creating the Footer
Lastly, add the <footer> element to include links to other platforms where you can be found, copyright information, or anything else you'd like to include at the bottom of your website. Below the </main> tag, paste the following code:
```html
```
Styling Your Website with CSS
HTML gives your website its structure, but CSS is what brings it to life. Neocities allows you to write custom CSS to style your website. Click the "Styles" tab in the editor and replace any existing code with the following:
```css body { font-family: Arial, sans-serif; margin: 0; padding: 0; line-height: 1.6; } header { background-color: #f8f9fa; padding: 20px; text-align: center; } header h1 { margin: 0; } nav ul { list-style-type: none; margin: 0; padding: 0; display: flex; justify-content: center; } nav li { margin-right: 15px; } main { max-width: 800px; margin: auto; padding: 20px; } footer { background-color: #f8f9fa; text-align: center; padding: 10px; } ```
Adding Fonts and Coloring Your Website
To really make your website stand out, add custom fonts and colors. First, sign up for a free account at Google Fonts. Choose a font you like, then click on the "+" icon to select your desired font variants and styles. On the next screen, click "Embed" and copy the <link> code.
Go back to the Neocities editor, click the "Styles" tab, and paste the <link> code into the <head> section, just before the </meta> tag. Now, update the body font-family in your CSS to match the font you've chosen:
```css body { font-family: 'Your Font Name', sans-serif; margin: 0; padding: 0; line-height: 1.6; } ```
To add colors to your website, simply update the values in the CSS. For example:
```css header { background-color: #007bff; color: #fff; /* ... */ } ```
Experiment with different colors, fonts, and styles to make your website truly unique.
Testing and Publishing Your Website
Before publishing your website to the world, test it on various devices and browsers to ensure it looks and functions as expected. Once you're satisfied, click the "Publish" button in the Neocities editor. Enter a commit message (e.g., "Initialize website with HTML"), then click "Publish & Close".
Now, visit your new website at yourusername.neocities.org and share it with the world!
Congratulations, you've just created a stunning HTML website on Neocities! As you continue to learn and grow as a web developer, don't forget to keep tinkering and experimenting with your website's design and functionality. Happy coding! β€οΈ