Input: italic
Output: italic
Input: underlined
Output: underlined
Input: strike through text
Output:strike through text
2. Create text
Simple URLs look pretty bad. Add links to text, ie create a hypertext, much more stylish and save space, especially if the link is very long.
Input: Quantrimang
Output: Quantrimang
You may find this HTML tag a bit more complicated, so consider its structure in detail. The actual tag is and additional elements are attributes that define other properties.Href = define link and title = define tooltip. Please be sure to use quotes to attach links and titles, otherwise the link will be broken.
3. Embed image
A picture can express more than a thousand words. We should use them more often. And here's how you can insert an image yourself using HTML:
Input:
Let's analyze this tag. The actual card is
and the required attributes are src = and alt = . The previous point to the location of the image, ie its URL and then provides an alternative text, is displayed in case the image is blocked or the link is broken. Note, use quotation marks to avoid broken links.Card
also an example of a card does not need to "close" and therefore closes with the front dash in the original card, ie not .4. Interrupts and texts
To create a structured text, you need to use line breaks and paragraphs. And here are the cards to know:
Input :
Output: This tag creates a line break. Note that this is another card that combines open and closed tags in the same card.
Output :
Text inside your paragraph.
Output: Unlike the previous card, paragraph tags have open cards and standard closing cards. The text between the two tags is the paragraph, meaning there is a blank line before and after the paragraph.
5. Create list
There are basically two types of lists: ordered and unordered, often called numbered lists and bulleted lists. To create one of these two lists, you need to know two different tags. Consider the first examples:
Input:
Output :
Input:
Output:
To create an ordered list, use tags and unordered lists, insert tags. In both cases, cards
Used to identify an item in the list.Now, have you felt more confident about using HTML tags?