+3 votes
134 views
Learning HTML (Basic tags)

in HTML5 / CSS3 by (360k points)
reopened | 134 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 (2.2m points)
edited

Related questions

+5 votes
1 answer
asked Jun 23, 2019 in HTML5 / CSS3 by backtothefuture (360k points) | 108 views
+5 votes
1 answer
asked Sep 26, 2019 in HTML5 / CSS3 by backtothefuture (360k points) | 132 views
+4 votes
1 answer
asked Jun 24, 2019 in HTML5 / CSS3 by backtothefuture (360k points) | 129 views
+3 votes
1 answer
asked Jun 24, 2019 in HTML5 / CSS3 by backtothefuture (360k points) | 6k views
Please leave a comment about whether the solution works or not (with device model)   [X]Close
6,895 questions
6,992 answers
277 comments
2 users