Use HTML to solve common problems - Learn web development 编辑
The following links point to solutions to common everyday problems you'll need to solve with HTML.
Basic structure
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 structure of headings and paragraphs
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 a 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 annotate images and graphics
- How to mark abbreviations and make them understandable
- How to add quotations and citations to web pages
- How to define terms with HTML
Hyperlinks
One of the main reasons for HTML is making navigation easy with hyperlinks, which can be used in many different ways:
Images & multimedia
Scripting & styling
HTML only sets up document structure. To solve presentation issues, use CSS, or use scripting to make your page interactive.
Embedded content
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
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:
Tabular information
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:
Data representation
- How to represent numeric and code values with HTML — see Superscript and Subscript, and Representing computer code.
- How to use data attributes
Advanced text semantics
- How to take control of HTML line breaking
- How to mark changes (added and removed text) — see the
<ins>
and<del>
elements.
Advanced images & multimedia
- How to add a responsive image to a webpage
- How to add vector image to a webpage
- How to add a hit map on top of an image
Internationalization
HTML is not monolingual. It provides tools to handle common internationalization issues.
Performance
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论