Monthly Archives: January 2019

JavaScript Output

Using innerHTML To access an HTML element, JavaScript can use the document.getElementById(id) method. The id attribute defines the HTML element. The innerHTML property defines the HTML content: <!DOCTYPE html> <html> <body> <h2>My First Web Page</h2> <p>My First Paragraph.</p> <p id=”demo”></p> … Continue reading

Posted in Uncategorized | Comments Off on JavaScript Output

HTML Responsive Web Design

What is Responsive Web Design? Responsive Web Design is about using HTML and CSS to automatically resize, hide, shrink, or enlarge, a website, to make it look good on all devices (desktops, tablets, and phones).

Posted in Uncategorized | Comments Off on HTML Responsive Web Design

HTML Styles

HTML Background Color <!DOCTYPE html> <html> <body style=”background-color:powderblue;”> <h1>This is a heading</h1> <p>This is a paragraph.</p> </body> </html> HTML Text Color <!DOCTYPE html> <html> <body> <h1 style=”color:blue;”>This is a heading</h1> <p style=”color:red;”>This is a paragraph.</p> </body> </html> HTML Fonts <!DOCTYPE … Continue reading

Posted in Uncategorized | Comments Off on HTML Styles