Getting Started: A brief introduction to HTML's basic tags and attributes

Getting Started: A brief introduction to HTML's basic tags and attributes

HTML is made up of tags and attributes, which are used together to tell the browser how to display a page. A logo is used to reference a document component such as a text or an image. Attributes are options for a logo that are modified in the logo, such as color, alignment, height and width. Many signs appear in pairs, for example, the first one indicates the start, and the second one indicates
HTML is made up of tags and attributes, which are used together to tell the browser how to display a page. A logo is used to reference a document component such as a text or an image. Attributes are options for a logo that are modified in the logo, such as color, alignment, height and width. Many tags appear in pairs, for example, there is <TITLE> and there is </TITLE>. The first one indicates the beginning and the second one indicates the end, and the content is placed between the two.
Basic structure mark
< HTML > ----------Indicates that the file is an HTML file
<HEAD> ----------Contains the title of the file, used scripts, style definitions, etc.
<TITLE>HELLO WORLD! </TITLE> - contains the title of the file, which appears in the browser title bar
<HEAD> ----------</HEAD> end mark
<BODY> --------Place all the signs and attributes of the information displayed in the browser, and the content is displayed in the browser</BODY>
</ HTML > ----------< HTML > end tag
Other main symbols All the following symbols are used in <BODY></BODY>
<A HREF="…"></A> ----------Link symbol, “…” is the link file address
<IMG SRC="…"> ----------Displays the image logo, "…" is the address of the image
<BR> ----------Line break symbol
<P> ----------Segment mark
<B></B> ----------Use boldface
<I></I> ----------Use italics
<HR> ----------Horizontal line drawing
<TABLE></TABLE> ----------Defines a table, an important symbol in HTML
<TR></TR> ----------Defines the rows of a table, used in <TABLE></TABLE>
<TD></TD> ----------Table cell, used in <TR></TR>
<FONT></FONT> ----------font style logo
Usage of properties:
Attributes are used to modify tags and are placed inside the start tag.
For example: the attribute bgcolor="BLACK" means the background color is black. Examples of reference attributes: <BODY bgcolor="BLACK"></BODY> means the page background color is black, <TABLE bgcolor="BLACK"></TABLE> means the table background color is black.
Common properties: alignment properties range properties
ALIGN=LEFT Left alignment (default) WIDTH=width of object in pixels or percentage
ALIGN=CENTER Center HEIGHT=pixel value or percentage object height
ALIGN=RIGHT Right alignment color attribute
COLOR=#RRGGBB Foreground color reference color table
BGCOLOR=#RRGGBB Background color

<<:  Solution to Docker image downloading too slowly

>>:  A simple tutorial on how to use the mysql log system

Recommend

Implementation of FIFO in Linux process communication

FIFO communication (first in first out) FIFO name...

React+Antd implements an example of adding, deleting and modifying tables

Table of contents Table/index.js Table/model/inde...

Vue custom table column implementation process record

Table of contents Preface Rendering setTable comp...

Detailed steps to install MYSQL8.0 on CentOS7.6

1. Generally, mariadb is installed by default in ...

Using MySQL database with Python 3.4 under Windows 7

The detailed process of using MySQL database with...

Linux CentOS MySQL database installation and configuration tutorial

Notes on installing MySQL database, share with ev...

Detailed explanation of HTML style tags and related CSS references

HTML style tag style tag - Use this tag when decl...

Vue implements QR code scanning function (with style)

need: Use vue to realize QR code scanning; Plugin...

Teach you a trick to achieve text comparison in Linux

Preface In the process of writing code, we will i...

Using Docker Enterprise Edition to build your own private registry server

Docker is really cool, especially because it'...

HTML+CSS to achieve responsive card hover effect

Table of contents accomplish: Summarize: Not much...

js to achieve drag and drop sorting details

Table of contents 1. Introduction 2. Implementati...

How to remove the dividing line of a web page table

<br />How to remove the dividing lines of a ...