Terjemahan ini belum lengkap. Sila bantu terjemahkan artikel ini daripada Bahasa Inggeris.
Once you've covered the basics, there isn't one right path to learn HTML. You can pick up whatever you like at your own pace. HTML is simply a set of tags you can use to set up your document structure and add extra functionality to your document. The following articles explain thoroughly, with full working examples, how to use HTML for the most common, frequent Web development tasks. If you need a quick explanation of a tag, please head over to our HTML reference.
Common use cases
HTML covers a lot of very common use cases in Web design. It's highly likely you'll come across these scenarios:
The most basic application of HTML is document structure. If you're new to HTML you should start with this.
- How to create a basic HTML document
- How to divide a webpage into logical sections
- How to set up a proper title hierarchy
Basic text-level semantics
HTML specializes in providing semantic information for a document, so HTML answers many questions you might have about how to get your message across best in your document.
- How to create list of items with HTML
- How to stress or emphasize content
- How to indicate that text is important
- How to display computer code with HTML
- How to indicate exponential notation with HTML
- How to provide contact information within a webpage
- How to annotate images and graphics
- How to mark abbreviations and make them understandable
- How to add citations to webpages
- How to define terms with HTML
One of the main reasons for HTML is make navigation easy with hyperlinks, which can be used in many different ways:
Images & multimedia
- How to add images to a webpage
- How to add video content to a webpage
- How to add audio content to a webpage
Scripting & styling
HTML only sets up document structure. To solve presentation issues, use CSS, or use scripting to make your page interactive.
Uncommon or advanced problems
Beyond the basics, HTML is very rich and offers advanced features for solving complex problems. These articles help you tackle the less common use cases you may face:
Forms are a complex HTML structure made to send data from a webpage to a web server. We encourage you to go over our full dedicated guide. Here is where you should start:
Some information, called tabular data, needs to be organized into tables with columns and rows. It's one of the most complex HTML structures, and mastering it is not easy:
- How to create a data spreadsheet
- How to make HTML tables accessible
- How to optimize HTML table rendering
- How to represent numeric values with HTML
- How to associate human readable content with arbitrary computer data structures
Advanced text semantics
Advanced images & multimedia
- How to add responsive image to a webpage
- How to add vector image to a webpage
- How to add a hit map on top of an image
- How to create dynamic and interactive images
HTML is not monolingual. It provides tools to handle common internationalization issues.