Posts

HTML Basic 2

What Are HTML Elements? HTML elements The element usually starts with an opening tag, which consists of the name of the element. It's wrapped in opening and closing angle brackets. The opening tag indicates where the element begins. Similar to the opening tag, the closing tag is also wrapped in opening and closing angle brackets. But it also includes a forward slash before the element's name. Everything inside the opening and closing tags is the content. But not all elements follow this pattern. We call those that don't empty elements. They only consist of a single tag or an opening tag that cannot have any content. These elements are typically used to insert or embed something in the document. For example, the  <img>  element is used to embed an image file, or the  <input>  element is used to insert an input onto the page. < img src = " https://images.unsplash.com/photo-1610447847416-40bac442fbe6 " width = " 50 " > In the example abo
Recent posts