Programming HTML
Every HTML element can have attributes.
For web development and programming, the most important attributes are id and class. These attributes are often used to address program based web page manipulations.
Attribute | Example |
---|---|
id | <table id="table01" |
class | <p class="normal"> |
style | <p style="font-size:16px"> |
data- | <div data-id="500"> |
onclick | <input onclick="myFunction()"> |
onmouseover | <a onmouseover="this.setAttribute('style','color:red')"> |
Full HTML Tutorial
This has been a short description of HTML.
For a full HTML tutorial go to W3Schools HTML Tutorial.
For a full HTML tag reference go to W3Schools Tag Refrences.
No comments:
Post a Comment