Introduction
you need a computer and a text editor to get the best benefited of this book . Fact that coding isnt that hard to learn how to write web pages and read the code used to create them; if you was a programmer , understanding HTML and CSS can help anyone who works with the web. we will learn about HTML ,CSS in this book : in HTML: you will start by writing down the words you want to appear on your page. You then add tags or elements to the words so that the browser knows what is a heading ..
in CSS : it used to control the styling and layout.
how to access the web?
- Browsers: People access websites using software called a web browser. Popular examples include Firefox, Internet Explorer.
-
Web Servers : Web servers are special computers that are constantly connected to the Internet, and are optimized to send web pages out to people who request them.
-
Screen readers : Screen readers are programs that read out the contents of a computer screen to a user.
- Devices: accessing websites on an increasing range of devices including desktop computers,laptops, tablets, and mobile phones. How it is created the web pages : the small pages are written with HTML and CSS. Larger, more complex sites like these may use a database to store data, and programming languages such as PHP, ASP.Net of web pages.
Structure :
In all kinds of documents, structure is very important in helping readers to understand the messages of the documents so same of that the website working . so in the documintes there is a head and there is Each topic might have a new paragraph, and each section can have a heading to describe what it covers. so we use structure to added a Word document to make it easier to understand . this structure is html structure :
This is the Main Heading
This text might be an introduction to the rest of the page. And if the page is a long one it might be split up into several sub-headings.
This is a Sub-Heading
Many long articles have sub-headings so to help you follow the structure of what is being written. There may even be sub-sub-headings (or lower-level headings).
Another Sub-Heading
Here you can see another sub-heading.
</body> </html> HTML uses elements to describe the structure of Pages , the Tags are often referred to as elements. **Extra Markup :** there is many virsions of HTML: Each new version was designed to be an improvement on the last , HTML4 : released 1997 XHTML 1.0 :released 2000 HTML5 :released 2000 ,Despite the fact that HTML5 is not yet completed, but you can safely take advantage of the new features of the language. - how to add a comment ? If you want to add a comment to your code that will not be visible in the user's browser, you can add the text between these characters: - class attribute : you can use the class attribute. Its value should describe the class it belongs to. - Id attribute: It is used to uniquely identify that element from other elements on the page, It is important that no two elements on the same page have the same value for their id attributes. -Block element: Some elements will always appear to start on a new line in the browser window. These are known as block level elements such as