Jump to content

[Tutorial] [Basics] Learning HTML - Step Two [/Basics]


Recommended Posts

Posted

Hey guys!

 

I'm glad to present the "Step Two" guide for HTML to MaxCheaters. The first thread seemed to appeal for you guys, and this was also reflected in the poll I set. This guide will take it further from where we left off, and depending on your feedback I will continue to make these for you all to see. I have decided not to go straight into very difficult HTML, because there are still people that need to learn from this and I think both Advanced and Beginners can benefit from this tutorial. :thumbsup:. Also I would like to let you guys know that if you have any questions you can PM me or post below, and I will answer your question right away. Take note I am not doing coding services.

 

 

What's in for Today?

 

  • HTML Attributes
  • HTML Formatting
  • HTML CSS
  • HTML Tables

 

 

HTML Attributes

 

 

What are HTML Attributes?

 

HTML Attributes provide extra data/information about a specific element. I spoke of elements in my previous tutorial, now we are going to build up from that. These attributes are specified within the starting tag. They come in pairs such as:

 

 

name="putavalueinhere"

 

Using Attributes in HTML

 

As I spoke before in the previous tutorial, linking is used with the "<a>" tag. But to specify that the shown text is linked to a external/internal link, attributes have to be added.

 

 

<a href="http://maxcheaters.com">This is the display text. If you click on this it will link you to MaxCheaters.</a>

 

 

The attribute in this is the "href="http://maxcheaters.com"". It was the extra information provided for the browser to work at.

 

Testing HTML Files Locally

 

You can test that the above will work if you try this locally on your computer by doing the following:

 

1. Click on Start

2. Type into the search bar "Notepad" without the quotations

3. Open Notepad

4. Type in the following:

 

 

<html>
<body>
<a href="http://maxcheaters.com">This is the display text. If you click on this it will link you to MaxCheaters.</a>
</body>

</html>

 

 

5. Save it as .html by changing the extension

6. Now it should be in .html form you can double-click

7. Your default web-browser should open and this text will be displayed: "This is the display text. If you click on this it will link you to MaxCheaters."

8. If you put your mouse over the text it should be under-lined, this symbolises that it is linked.

9. Click on it and MaxCheaters should open

 

 

Commonly used Attributes

 

Some of these common attributes out of many.

 

 

49daa30d9f40bac770114f150744739c.png

 

 

To find a full complete list you may go Here

 

 

HTML Formatting

 

 

 

Now, simple formatting is very useful when you are trying to emphasise a specific sentence or word to stand out to the reader/user.

 

Bold

 

To bolden a word or sentence you use the tag "<b>" and of course to end it "</b>".

 

 

<html>

<body>
<b>If you put this into a .html file and run this locally taught above it will be bolder than</b> this.
</body>

</html>

 

 

You can combine codes together when you start learning more elements to add in :thumbsup:. And try to be creative when doing so.

 

Italics

 

Italic texts on HTML is very similar to making text bold, element wise. You only need to replace the "b" with an "i".

 

 

<html>
<body>
<i>This text will be italic. Make sure that the words you want in italic are in between these tags otherwise they become like</i> this.
</body>
</html>

 

 

86acef8142283e1e88addfc60a351534.png

 

 

To find the rest look Here

 

 

HTML CSS

 

 

 

Ok. Now you want to make your HTML files sexy and attractive to whatever need they may be for. To do this we may use something called "CSS". Which stands for "Cascading Styles Sheet ". They are used to style HTML Elements which I spoke of earlier.

 

Now, CSS can be implemented in a few different ways:

 

 

  • Inline - Using style attributes within HTML elements
  • Internal - using <style> as its own element, which is placed in the <head> section
  • External - Create an entirely separated .css file which can be "included" into the HTML file.

 

 

Inline

 

Inline CSS in HTML is where you specify "real-time" what something is going to be styled.

 

 

<body style="color:green;margin-left:50px;">
Lol. Now everything within the body will be green unless stated otherwise. XD
</body>

 

You can then go with the text background blocky like colour:

 

<body style="background-color:blue;">
Lol. Now everything within the body will be blue, but it will be background of the text :D
</body>

 

 

Obviously, you don't have to keep using the element body, but you can use like <h2 style="background-color:blue;">This will be size h2 and with a background colour of blue.</h2>

 

Cool eh? :victoire:

 

And you can put a lot of that together:

 

 

<html>

<body>
<h1 style="font-family:arial;">lulz</h1>
<p style="font-family:verdana;color:blue;font-size:30px;">Meow</p>
</body>

</html>

 

 

Can't figure what the output might? Give it a shot!

 

Internal Style Sheet

 

Here you can define a certain place to be specifically of a design, which instead of putting it straight into the element it has its own. It is all placed in the <head> which is before the <body>

 

 

<head>
<style type="text/css">
body {background-color:green;}
p {color:blue;}
</style>
</head>

 

 

Basically when a text is placed into the <body> it will be with a background colour of green, and anything using the <p></p> will be coloured blue. Make sure you spell "color" in HTML not "colour", because it is using US English. If you use "colour", it will not be recognised as "color".

 

External Style Sheets

 

This is normally used if there is a lot of styling required and also is easier to manage, but for this to work, it has to be "included" and loaded into a .html file when it runs so that it filters out for its work.

 

 

 

<head>
<link rel="stylesheet" type="text/css" href="basicallyyouhavetohaveitinthesamedirectorybutifnotlookbelow.css" />
</head>

 

 

 

Different directory?

 

 

<head>
<link rel="stylesheet" type="text/css" href="/randomdirectory/meow.css" />
</head>

 

 

 

Basically that's all you need to put.

 

 

 

HTML Tables

 

 

 

Tables will become very useful when you are using HTML. It helps align and asort information into very neat tables, which can obviously be modified to your own needs or wants.

 

Now, to start off, you need to have the whole table set up in the tag:

<table></table> There are obviously stuff to put inside, but those tags define the start of a table.

 

<th></th> This symbolises a header in the table.

<tr></tr> This symbolises a table row.

<td></td> And this symbolises a cell in the table.

 

To border the table we can use a attribute:

 

 

<table border="1">

 

 

You can change the thickness by changing the 1 to greater digits.

 

This is a full table example:

 

 

<table border="1">
<tr>
<th>This is the First Header</th>
<th>This is the Second Header</th>
</tr>
<tr>
<td>row 1 cell 1</td>
<td>row 1 cell 2</td>
</tr>
<tr>
<td>row 2 cell 1</td>
<td>row 2 cell 2</td>
</tr>
</table>

 

 

Output:

 

 

cffee1f0ee2fda5d19772efa2c6dba84.png

 

 

 

Get the idea?

 

 

Here is a good list:

 

 

bc04dabbffa5a2061d39e68cd014f31f.png

 

 

`Thank You!

 

 

Thanks for your support guys! :yeye: I will setup another poll to whether you want a Part 3 or not. I will keep going until it goes advanced if the polls remain positive enough I guess.

 

Hope this tutorial helped!

 

 

 

 

  • 4 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Posts

    • Server owners, Top.MaxCheaters.com is now live and accepting Lineage 2 server listings. There is no voting, no rankings manipulation, and no paid advantages. Visibility is clean and equal, and early listings naturally appear at the top while the platform grows. If your server is active, it should already be listed. Submit here https://Top.MaxCheaters.com This platform is part of the MaxCheaters.com network and is being built as a long-term reference point for the Lineage 2 community. — MaxCheaters.com Team
    • ⚙️ General Changed “No Carrier” title to “Disconnected” to avoid confusion after abnormal DC. On-screen Clan War kill notifications will no longer appear during Sieges, Epics, or Events. Bladedancer or SwordSinger classes can now log in even when Max Clients (2) is reached, you cannot have both at the same time. The max is 3 clients. Duels will now be aborted if a monster aggros players during a duel (retail-like behavior). Players can no longer send party requests to blocked players (retail-like). Fixed Researcher Euclie NPC dialogue HTML error. Changed Clan leave/kick penalty from 12 hours to 3 hours. 🧙 Skills Adjusted Decrease Atk. Spd. & Decrease Speed land rates in Varka & FoG. Fixed augmented weapons not getting cooldown when entering Olympiad. 🎉 Events New Team vs Team map added. New Save the King map added (old TvT map). Mounts disabled during Events. Letter Collector Event enabled Monsters drop letters until Feb. 13th Louie the Cat in Giran until Feb. 16th Inventory slots +10 during event period 📜 Quests Fixed “Possessor of a Precious Soul Part 1” rare stuck issue when exceeding max quest items. Fixed Seven Signs applying Strife buff/debuff every Monday until restart. 🏆 Milestones New milestone: “Defeat 700 Monsters in Varka” 🎁 Rewards: 200 Varka’s Mane + Daily Coin 🌍 NEW EXP Bonus Zones Hot Springs added Varka Silenos added (hidden spots excluded) As always, thank you for your support! L2Elixir keeps evolving, improving, and growing every day 💙   Website: https://l2elixir.org/ Discord: https://discord.gg/5ydPHvhbxs
    • https://sms.pro/ — we are an SMS activation platform  seeking partners  mobile number providers  mobile number owners  owners of GSM modems  SIM card owners We process 1,000,000 activations every day.  寻找合作伙伴  手机号码提供商  手机号码持有者  GSM调制解调器持有者  SIM卡持有者 我们每天处理1,000,000次激活。  Ищем партнеров  Владельцы сим карт  провайдеров  владельцев мобильных номеров  владельцев модемов  Обрабатываем от 1 000 000 активаций в день ⚡️ Fast. Reliable.   https://sms.pro/ Support: https://t.me/alismsorg_bot
    • "WHAT I WILL SEE ON NEW SEASON ? *More easy farm and augment than ever before ! *Free VIP characters for everyone for first 2 days after opening ! Improved olympiad engine to work more correctly. 3 New skins / outfits. Fixed raid boss spawns. Fixed olympiad crit errors. New farming Ivory Tower area. Fixed augmentation rate. Increased all mob drops rate by +20%. And much more..."   1. I have clicked VIP 23.01.2026 20:00 a few second after open server. 2 Days is 48h. Now 24.01.2026 I have 17 hours left, so my VIP will expire 08:00 25.01.2026. Where is 12h? SCAM.   2. Where is ivory tower area?   3. When next wipe?   
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..