<p> - Paragraphs
In HTML, a paragraph is designated by the <p> tag. A paragraph is automatically surrounded by space before and after it, and text enclosed in a <p> element is shown in a block style.
Example:
<p>This is a paragraph of text demonstrating how text naturally flows within a paragraph element in HTML.</p> |
<p> - Paragraphs
In HTML, a paragraph is designated by the <p> tag. A paragraph is automatically surrounded by space before and after it, and text enclosed in a <p> element is shown in a block style.
Example:
<p>This is a paragraph of text demonstrating how text naturally flows within a paragraph element in HTML.</p> |
Use the <link> tag inside the <head> to attach an external CSS file.
Comments in HTML are written between <!-- and -->.
HTML entities are used to display reserved or special characters.
The <iframe> tag embeds another webpage within the current page.
The id attribute uniquely identifies a single HTML element.
Hyperlinks are created using the <a> tag with an href attribute.
Use the <img> tag and specify the image source with the src attribute.
Use the target="_blank" attribute inside the <a> tag.
Copyrights © 2024 letsupdateskills All rights reserved