+3 votes
252 views
Learning HTML (Basic tags)

in HTML5 / CSS3 by (552k points)
reopened | 252 views

1 Answer

+4 votes
Best answer

Labels
  • Headings : They are used to mark the titles of the sections. : This label can have 6 possible values ​​that start from 1. Open notebook to start developing the file with the following code, we save it with the name headers.html :

image
  • Blocks : This label is used to separate paragraphs, preformatted text, blocks such as phrases or addresses. Create file blocks.html
  • <p> and </ p> Define a paragraph.
  • <pre> and </ pre> The text that is inside these labels will be interpreted by the browser with the format that has been entered, it is useful for when you want to show lines of code.
  • <address> and </ address> Used to identify an address.
  • <blockquote> and </ blockquote> Useful to highlight phrases. The text entered within these marks will be presented in indented and italic format.
Generate file blocks.html

image

  • Backgrounds and text colors : These attributes must be assigned in the <body> tag
  • bgcolor: Defines a background color for the entire document.
  • background: Set an image as a background.
  • text: Letter color for the entire document.

Generate body.html file





image

  • Type and size of letter : Label <FONT> has the following attributes:
  • face: to set the typeface.
  • size: letter size.
  • color: specifies the color of the characters, in hexadecimal format.
Generate file tipodeletra.html

image

  • Styles : The classic styles of bold, italics, underlining. Generate styles.html file

image

  • Links: Allow users to navigate between the pages of a website or external sites. Generate file links.html

image

  • Lists : There are three types of lists. Descriptive, Regular and Nested. Generate file lists.html

image

  • Tables : Established between the <TABLE> and </ TABLE> tags previously used to give the structure to the entire web page. They were replaced by the <DIV> element that is more flexible. The <tr> tag generates a row for the table and <td> generates a cell. Generate tables.html file

image

  • Images: <IMG /> tag, in this case the tag can be closed at the same opening mark; you can see the symbol "/" at the end of the line of code. Attributes:
  • SRC: Indicates the location of the image.
  • WIDTH / HEIGHT: Width and height of the image. (size)
Generate file images.html.

image

  • Forms: They are used to transfer information from the client to the server. Forms support input elements such as text fields, check boxes, buttons, text areas, etc.

image



The most important thing in learning the HTML language (and in all areas) is the practice, because in this way you will become familiar with the elements and know which one to use depending on the case and in an appropriate way.

by (3.5m points)
edited

Related questions

+5 votes
1 answer
asked Jun 23, 2019 in HTML5 / CSS3 by backtothefuture (552k points) | 245 views
+5 votes
1 answer
asked Sep 26, 2019 in HTML5 / CSS3 by backtothefuture (552k points) | 313 views
+4 votes
1 answer
asked Jun 24, 2019 in HTML5 / CSS3 by backtothefuture (552k points) | 268 views
+3 votes
1 answer
asked Jun 24, 2019 in HTML5 / CSS3 by backtothefuture (552k points) | 6.1k views
+5 votes
1 answer
asked Oct 17, 2022 in Help by backtothefuture (552k points) | 115 views
Sponsored articles cost $40 per post. You can contact us via Feedback

Most popular questions within the last 30 days

10,659 questions
10,791 answers
510 comments
3 users