dasfere.blogg.se

Html code for formatting text
Html code for formatting text






In the formatting of the body tag the main source is Arial, if it does not have Arial, it changes by verdana, if it does not have verdana, it changes by tahoma and if there is not also the tahoma will be replaced by any non-serif font.

  • font-family: Sets the family of fonts that will be used to format the text.
  • This technique is used when we want to give a special formatting for some words, so we use that does not disqualify the paragraph and allows modifying only part of the text.įont-family: Arial, Verdana, Tahoma, Sans-Serif
  • Note on lines 17, 24 and 31 the use of the tag in the middle of the text.
  • In lines 14, 22 and 30 the tag is used to define the text paragraphs.
  • html code for formatting text

    In lines 13, 21 and 29 the tag is used to define document captions.On line 11 I use the tag to set the main title of the document.In line 7 we make a link with an external CSS files, in this example we are using CSS in a linked way, as seen previously.

    html code for formatting text

    Its main purpose is the ease of information sharing It is a W3C recommendation to generate markup languages ​​for Its main benefit is to provide a separation between the format and content of Written in a markup language, such as HTML or XML. It is a style language used to define the presentation of documents In which the text and other elements of the page will be presented. Its main purpose is to structure & nbsp pages throughĪ set of tags that serve to define the form It is a markup language to be interpreted by browsers. This text contains words with reduced size Structuring text with HTML is used to place text in reduced font.and do the same thing, that is, put the text in bold.However, the correct thing is to use CSS to do the formatting. This text will have a line break This part of the text will already be in the line below Format Tags: Īlthough not recommended, HTML formatting is possible. This text will highlight a word and it used the span The tag is used to create a line break in a paragraph.It is used when you want to differentiate part of the text from a paragraph. The tag is used to create an inline text.The tag is used to create text in paragraphs.By default, these tags come with bold formatting and font size larger than normal text.Įxamples: Example text with H1 Example text with H2 Example text with H3 Example text with H4 Example text with H5 Example text with H6 Tags paragraphs, text in line and line break They are tags used to create titles, with being the largest title and being the smallest.

    html code for formatting text

    Other tags also work with text, but within another context. These tags are used to structure and format text. We will initially look at the tags that we can use to work with HTML texts.








    Html code for formatting text